mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-28 17:32:35 +00:00
adds udev rules to discourage NetworkManager from managing the interface
This commit is contained in:
@@ -22,7 +22,7 @@ while read line ; do
|
||||
fi
|
||||
done
|
||||
#echo "Hi! $ifname has [$mac]"
|
||||
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="'$mac'", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="'$ifname'"'
|
||||
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="'$mac'", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="'$ifname'" ENV{NM_UNMANAGED}="1"'
|
||||
;;
|
||||
*)
|
||||
#echo "IGNORING: $line"
|
||||
|
||||
Reference in New Issue
Block a user