mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +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
|
fi
|
||||||
done
|
done
|
||||||
#echo "Hi! $ifname has [$mac]"
|
#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"
|
#echo "IGNORING: $line"
|
||||||
|
|||||||
Reference in New Issue
Block a user