Skip to content

Commit

Permalink
fix path to ip program
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaris committed Aug 31, 2024
1 parent d2c5069 commit 0badace
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ then
fi

cat > /etc/udev/rules.d/10-wlan0-persistent-mac-address.rules <<EOT
ACTION=="add", SUBSYSTEM=="net", INTERFACE=="wlan0", PROGRAM="/sbin/ip link set %k address ${wlan_mac:0:2}:${wlan_mac:2:2}:${wlan_mac:4:2}:${wlan_mac:6:2}:${wlan_mac:8:2}:${wlan_mac:10:2}"
ACTION=="add", SUBSYSTEM=="net", INTERFACE=="wlan0", PROGRAM="/usr/bin/ip link set %k address ${wlan_mac:0:2}:${wlan_mac:2:2}:${wlan_mac:4:2}:${wlan_mac:6:2}:${wlan_mac:8:2}:${wlan_mac:10:2}"
EOT

0 comments on commit 0badace

Please sign in to comment.