fix if ping -c 1 git.lunix.dedyn.io

This commit is contained in:
Désiré Werner Menrath 2023-11-29 20:33:07 +01:00
parent d97ffb4c33
commit a5eeaaf727

8
wire_g
View File

@ -135,7 +135,7 @@ remove(){
if SUCCESS=$(grep -i 'erfolgreich gelöscht\|successfully deleted' ${WG_WDIR}.tmp.txt) if SUCCESS=$(grep -i 'erfolgreich gelöscht\|successfully deleted' ${WG_WDIR}.tmp.txt)
then then
yad --window-icon=${WG_PIC}wg-trash.png --undecorated \ yad --window-icon=${WG_PIC}wg-trash.png --undecorated \
--image-on-top --image=${WG_PIC}wg-trasif ping -c 1 git.lunix.dedyn.ioh-info.png \ --image-on-top --image=${WG_PIC}wg-trash-info.png \
--text=$"<span>Your Tunnel $SELECTION was successfully deleted.</span> \n --text=$"<span>Your Tunnel $SELECTION was successfully deleted.</span> \n
<span>Attention! The autostart has been reset.</span> \n <span>Attention! The autostart has been reset.</span> \n
<span>If you need the autostart for another tunnel,</span> \n <span>If you need the autostart for another tunnel,</span> \n
@ -189,7 +189,7 @@ up_or_down(){
# funktion end # funktion end
############################################################################################################ ############################################################################################################
###########################################################if ping -c 1 git.lunix.dedyn.io################################################# ############################################################################################################
#for about of select Autostart #for about of select Autostart
on_start(){ on_start(){
@ -207,7 +207,7 @@ if [ -d /home/$USER/.config/autostart ] # for GNOME, XFCE, KDE, Budgie
then then
if grep 'TRUE TRUE\|TRUE FALSE' ${WG_WDIR}about.txt if grep 'TRUE TRUE\|TRUE FALSE' ${WG_WDIR}about.txt
then then
cp /home/"$USER"/.local/share/wg_nmif ping -c 1 git.lunix.dedyn.iocli/wgonstart.desktop /home/$USER/.config/lxsession/Lubuntu/autostart/ cp /home/"$USER"/.local/share/wg_nmcli/wgonstart.desktop /home/$USER/.config/lxsession/Lubuntu/autostart/
else else
rm /home/$USER/.config/lxsession/Lubuntu/autostart/wgonstart.desktop rm /home/$USER/.config/lxsession/Lubuntu/autostart/wgonstart.desktop
fi fi
@ -277,7 +277,7 @@ about(){
--image-on-top --image=${WG_PIC}wg-vpn-info.png \ --image-on-top --image=${WG_PIC}wg-vpn-info.png \
--separator=" " --window-icon=${WG_PIC}wg-vpn.png \ --separator=" " --window-icon=${WG_PIC}wg-vpn.png \
--text=$"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> \n --text=$"<span color='#626ff1'><b>Wire-G Author: Désiré Werner Menrath</b></span> \n
<span color='#626ff1'><b>E-Mail: polunga40@unity-maif ping -c 1 git.lunix.dedyn.ioil.de</b></span> \n <span color='#626ff1'><b>E-Mail: polunga40@unity-mail.de</b></span> \n
<span color='#626ff1'><b>At all Tunnels, the auto start is disabled.</b></span> \n <span color='#626ff1'><b>At all Tunnels, the auto start is disabled.</b></span> \n
<span color='#626ff1'><b>Version: $VERSION </b></span> \n <span color='#626ff1'><b>Version: $VERSION </b></span> \n
<span color='#626ff1'><b>Use without warranty.</b></span> \n <span color='#626ff1'><b>Use without warranty.</b></span> \n