weitere korrekturen

This commit is contained in:
2023-11-01 11:51:29 +01:00
parent e4b04c481b
commit e45923d544
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
# rm /home/$a_user/.config/wg_nmcli/.tunnel.txt # falls Wireguard nicht richtig funktioniert hier die # wegnehmen
# 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\|disabled' "${wg_wdir}.stop.txt")
then
notify-send --icon="${wg_pic}wg-stop.png" "$wert Connection disconnected."
pkill yad