translate Dateien umbenannt, verschoben & code fix
This commit is contained in:
2
wg_stop
2
wg_stop
@ -30,7 +30,7 @@ export textdomaindir="/usr/share/locale"
|
||||
for wert in "${lines[@]}"
|
||||
do
|
||||
# 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\|deactivated' ${wg_wdir}.stop.txt)
|
||||
then
|
||||
notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected"
|
||||
|
Reference in New Issue
Block a user