From 22c5f16cc38dee60b7cfb2b28fcf8a9b4ab9068b Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 11 Oct 2021 09:46:37 +0200 Subject: [PATCH] remove config file after disconnection --- local/bin/eduroam | 1 + 1 file changed, 1 insertion(+) diff --git a/local/bin/eduroam b/local/bin/eduroam index b47c38e..e7e1789 100755 --- a/local/bin/eduroam +++ b/local/bin/eduroam @@ -2,6 +2,7 @@ sudo sv stop iwd conf="$(mktemp)" +trap "rm '$conf'" EXIT QUIT cat > "$conf" <