add connect toggle
This commit is contained in:
parent
aba8a74910
commit
6cc75335e6
|
@ -13,9 +13,14 @@ case $1 in
|
||||||
sh $0 d
|
sh $0 d
|
||||||
sh $0 c
|
sh $0 c
|
||||||
;;
|
;;
|
||||||
|
"t"*)
|
||||||
|
[ $(ps aux | grep wpa_supplicant | wc -l) -eq 2 ] && sh $0 d && exit
|
||||||
|
sh $0 c
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
printf "\
|
printf "\
|
||||||
simple wrapper for connecting to a network
|
simple wrapper for connecting to a network
|
||||||
|
${0} toggle to toggle wifi connection
|
||||||
${0} restart to restart wifi
|
${0} restart to restart wifi
|
||||||
${0} disconnect to disconnect
|
${0} disconnect to disconnect
|
||||||
${0} connect to connect to network
|
${0} connect to connect to network
|
||||||
|
|
Loading…
Reference in New Issue