remove config file after disconnection

This commit is contained in:
Felix Van der Jeugt 2021-10-11 09:46:37 +02:00
parent dd591547dc
commit 22c5f16cc3
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
sudo sv stop iwd
conf="$(mktemp)"
trap "rm '$conf'" EXIT QUIT
cat > "$conf" <<HERE
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel