1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge branch 'openvpn-handle' of https://github.com/holta/iiab

This commit is contained in:
root 2018-08-14 05:05:41 -04:00
commit 3865e16c95

View file

@ -18,11 +18,12 @@ if [ -f /etc/iiab/uuid ]; then
UUID=`cat /etc/iiab/uuid`
fi
# start the daemon which will serve the handle on demand
SERVER=/usr/bin/ncat
ID=`printf "HANDLE = %s|UUID = %s" $HANDLE $UUID`
{% if is_debuntu %}
#ID=`printf "HANDLE = %s|UUID = %s|" $HANDLE $UUID`
# start the daemon which will serve the handle on demand
{% if is_debuntu %}
$SERVER -l -k -p1705 --exec "/bin/echo $ID" &
{% else %}
source /etc/init.d/functions