test mit kill pid
This commit is contained in:
parent
1275ee3459
commit
5b7279fda7
3
wire_g
3
wire_g
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user