summaryrefslogtreecommitdiffstats
path: root/lass/2configs/umts.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-13 14:07:59 +0200
committerlassulus <lass@aidsballs.de>2016-06-13 14:07:59 +0200
commit2f77b404abc6ad36e75d437ce46ca2f6931fe389 (patch)
tree44448f4ff4c0445086a7c8159ee5faeaea25d6b8 /lass/2configs/umts.nix
parent23385c2984c9d4fbff65c920d9d59bc29314a639 (diff)
l 2 umts: start wpa_supplicant again in trap
Diffstat (limited to 'lass/2configs/umts.nix')
-rw-r--r--lass/2configs/umts.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/lass/2configs/umts.nix b/lass/2configs/umts.nix
index ddba1b526..ac5991afa 100644
--- a/lass/2configs/umts.nix
+++ b/lass/2configs/umts.nix
@@ -19,10 +19,9 @@ let
set -euf
systemctl stop wpa_supplicant
systemctl start umts
- trap "systemctl stop umts;trap - INT TERM EXIT;exit" INT TERM EXIT
+ trap "systemctl stop umts && systemctl start wpa_supplicant;trap - INT TERM EXIT;exit" INT TERM EXIT
echo nameserver 8.8.8.8 | tee -a /etc/resolv.conf
journalctl -xfu umts
- systemctl start wpa_supplicant
'';
wvdial-defaults = ''