add ;; to case

This commit is contained in:
randomuser 2021-05-11 11:06:16 -05:00
parent 2dc9626006
commit 521ddd15ac
1 changed files with 3 additions and 0 deletions

View File

@ -5,11 +5,14 @@ case $1 in
wpa_supplicant -iwlp3s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B wpa_supplicant -iwlp3s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
dhcpcd wlp3s0 dhcpcd wlp3s0
tor & disown tor & disown
;;
"d"*) "d"*)
killall -15 wpa_supplicant dhcpcd tor killall -15 wpa_supplicant dhcpcd tor
;;
"r"*) "r"*)
sh $0 d sh $0 d
sh $0 c sh $0 c
;;
*) *)
printf "\ printf "\
simple wrapper for connecting to a network simple wrapper for connecting to a network