english disable mit deactivated ersetzt

This commit is contained in:
Désiré Werner Menrath 2023-11-03 15:28:08 +01:00
parent aeeed49b6e
commit ce5892074e

View File

@ -31,14 +31,12 @@ export textdomaindir="/usr/share/locale"
do do
# hier wird die Ausgabe von nmcli für die auswertung in die .stop.txt gespeichert # hier wird die Ausgabe von nmcli für die auswertung in die .stop.txt gespeichert
nmcli connection down $wert &> ${wg_wdir}.stop.txt 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 then
notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected" notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected"
pkill yad
fi fi
done done
pkill yad
################################# END ################################################################## ################################# END ##################################################################
############################################################################################################ ############################################################################################################