fehler korrigiert und stop skript übersetzt
This commit is contained in:
3
wg_stop
3
wg_stop
@ -10,9 +10,10 @@
|
||||
if [ -z $active ]
|
||||
then
|
||||
yad --image-on-top --image=${wg_pic}wg-info.png \
|
||||
--text="Es gibt keinen aktiven Tunnel den man stoppen könnte.\n" \
|
||||
--text="There is no active tunnel that you could stop.\n" \
|
||||
--text-align=center --button="OK" --title "Wire-G" \
|
||||
--fixed --center --buttons-layout=center --borders=8 --center
|
||||
exit 0
|
||||
fi
|
||||
#Damit wird der inhalt von /home/$a_user/.config/wg_nmcli/.tunnel.txt in ein Array gespeichert
|
||||
IFS=$'\n' lines=( $(cat ${wg_wdir}.tunnel.txt) )
|
||||
|
Reference in New Issue
Block a user