Update to new name of NM conf file
This commit is contained in:
parent
ce6bf34f60
commit
828c6dce9a
2
setup.sh
2
setup.sh
@ -76,7 +76,7 @@ sed -i -e "s/PermitRootLogin yes/PermitRootLogin no/g" /etc/ssh/sshd_config
|
|||||||
# NetworkManager Wi-Fi config
|
# NetworkManager Wi-Fi config
|
||||||
if [[ $sbc = 'orangepizero' ]]; then # TODO other SBCs?
|
if [[ $sbc = 'orangepizero' ]]; then # TODO other SBCs?
|
||||||
echo "Disabling Wi-Fi MAC address randomization"
|
echo "Disabling Wi-Fi MAC address randomization"
|
||||||
sed -i -e "s/wifi.mac-address-randomization=1/wifi.mac-address-randomization=no/g" /etc/NetworkManager/conf.d/10-override-wifi-random-mac-disable.conf
|
sed -i -e "s/wifi.mac-address-randomization=1/wifi.mac-address-randomization=no/g" /etc/NetworkManager/conf.d/zz-override-wifi-random-mac-disable.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user