Added NetworkManager script

This commit is contained in:
dbroqua 2020-06-22 08:40:15 +02:00
parent 0359b34332
commit 31dafd534a

View file

@ -0,0 +1,12 @@
#!/bin/bash
if [ "$1" = "enp0s31f6" ]; then
case "$2" in
up)
nmcli radio wifi off
;;
down)
nmcli radio wifi on
;;
esac
fi