From 2f77b404abc6ad36e75d437ce46ca2f6931fe389 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 13 Jun 2016 14:07:59 +0200 Subject: l 2 umts: start wpa_supplicant again in trap --- lass/2configs/umts.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lass') 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 = '' -- cgit v1.2.3