test mit kill pid

This commit is contained in:
Désiré Werner Menrath 2023-11-08 20:23:22 +01:00
parent 1275ee3459
commit 5b7279fda7

3
wire_g
View File

@ -113,6 +113,7 @@ import_wg(){
import_wg ;; import_wg ;;
esac esac
else else
kill -0 $PID &> /dev/null
wire_g wire_g
fi fi
@ -212,7 +213,7 @@ more(){
<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
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n") <a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n" & PID=$!)
} }
export -f more export -f more