add exception for systems using networkmanager
This commit is contained in:
parent
7cd0e131ff
commit
3751a7d125
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ "$(ps -aux | grep -c NetworkManager)" -eq 2 ] && \
|
||||||
|
printf "NetworkManager is already running!" && \
|
||||||
|
exit
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
"c"*)
|
"c"*)
|
||||||
wpa_supplicant -iwlp3s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
|
wpa_supplicant -iwlp3s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
|
||||||
|
|
Loading…
Reference in New Issue