translate german
This commit is contained in:
5
wg_stop
5
wg_stop
@ -28,8 +28,7 @@ export textdomaindir="/usr/share/locale"
|
||||
#echo ${lines[0]} #Damit wird der Inhalt ausgelesen. (Index angeben)
|
||||
wert=$"*_*"
|
||||
for wert in "${lines[@]}"
|
||||
do
|
||||
# rm /home/$a_user/.config/wg_nmcli/.tunnel.txt # falls Wireguard nicht richtig funktioniert hier die # wegnehmen
|
||||
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)
|
||||
@ -41,6 +40,6 @@ export textdomaindir="/usr/share/locale"
|
||||
done
|
||||
|
||||
|
||||
################################# ENDE #################################################################
|
||||
################################# END ##################################################################
|
||||
############################################################################################################
|
||||
|
||||
|
Reference in New Issue
Block a user