summaryrefslogtreecommitdiffstats
path: root/lass/2configs/umts.nix
diff options
context:
space:
mode:
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 = ''