Update to new name of NM conf file

This commit is contained in:
Alexandre CATTEAU 2024-06-29 20:51:14 +02:00
parent ce6bf34f60
commit 828c6dce9a

View File

@ -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