From ce5892074e5540c5f30cb9aff0d37ae593c8d837 Mon Sep 17 00:00:00 2001 From: punix Date: Fri, 3 Nov 2023 15:28:08 +0100 Subject: [PATCH] english disable mit deactivated ersetzt --- wg_stop | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wg_stop b/wg_stop index 46ac7a3..6c18505 100755 --- a/wg_stop +++ b/wg_stop @@ -31,14 +31,12 @@ export textdomaindir="/usr/share/locale" do # hier wird die Ausgabe von nmcli für die auswertung in die .stop.txt gespeichert nmcli connection down $wert &> ${wg_wdir}.stop.txt - if disable=$(grep -i 'deaktiviert\|disabled' ${wg_wdir}.stop.txt) + if disable=$(grep -i 'deaktiviert\|deactivated' ${wg_wdir}.stop.txt) then - notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected" - pkill yad - + notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected" fi done - +pkill yad ################################# END ################################################################## ############################################################################################################