forgot exit kek
This commit is contained in:
parent
23363dbfe0
commit
8c07fc377c
3
wifi
3
wifi
@ -47,7 +47,8 @@ __kill_old() {
|
|||||||
__connect_config() {
|
__connect_config() {
|
||||||
if [ -z "$debug_kill" ]
|
if [ -z "$debug_kill" ]
|
||||||
then
|
then
|
||||||
if [ ! -f "$1" ]; then echo Config not found;fi
|
if [ ! -f "$1" ]; then echo Config not found\
|
||||||
|
exit 0;fi
|
||||||
__kill_old
|
__kill_old
|
||||||
wpa_supplicant -B -i wlp1s0 -c "$1"
|
wpa_supplicant -B -i wlp1s0 -c "$1"
|
||||||
dhclient wlp1s0
|
dhclient wlp1s0
|
||||||
|
Loading…
Reference in New Issue
Block a user