translate Dateien umbenannt, verschoben & code fix
This commit is contained in:
parent
a57da6926e
commit
8f98cf9c55
@ -12,9 +12,9 @@
|
||||
|
||||
a_user=$(whoami)
|
||||
cd || exit
|
||||
rm -f /home/$a_user/.icons/wireguard-active.png wireguard-stop.png wireguard-vpn.png wg-import.png wg-trash.png wg-info.png
|
||||
rm -f /home/"$a_user"/.icons/wireguard-active.png wireguard-stop.png wireguard-vpn.png wg-import.png wg-trash.png wg-info.png
|
||||
wait;
|
||||
rm -r /home/$a_user/.config/wg_nmcli
|
||||
rm -r /home/"$a_user"/.config/wg_nmcli
|
||||
wait;
|
||||
sudo rm /usr/share/icons/Arch-Symbole/wireguard-vpn.png
|
||||
wait;
|
||||
|
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"
|
||||
|
Loading…
Reference in New Issue
Block a user