guard against mistypes

This commit is contained in:
shockrahwow 2019-09-18 16:49:46 -07:00
parent 8aba6313c9
commit 23363dbfe0

1
wifi
View File

@ -47,6 +47,7 @@ __kill_old() {
__connect_config() {
if [ -z "$debug_kill" ]
then
if [ ! -f "$1" ]; then echo Config not found;fi
__kill_old
wpa_supplicant -B -i wlp1s0 -c "$1"
dhclient wlp1s0