remove config file after disconnection
This commit is contained in:
parent
dd591547dc
commit
22c5f16cc3
@ -2,6 +2,7 @@
|
|||||||
sudo sv stop iwd
|
sudo sv stop iwd
|
||||||
|
|
||||||
conf="$(mktemp)"
|
conf="$(mktemp)"
|
||||||
|
trap "rm '$conf'" EXIT QUIT
|
||||||
|
|
||||||
cat > "$conf" <<HERE
|
cat > "$conf" <<HERE
|
||||||
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
|
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
|
||||||
|
Loading…
Reference in New Issue
Block a user