mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update announcer.j2
This commit is contained in:
parent
212ad0d625
commit
c2649d4e92
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue