$ ls /etc/tinc/tinc_mesh/
hosts  rsa_key.priv  tinc.conf  tinc-up

$ cat /etc/tinc/tinc_mesh/tinc-up

#!/bin/sh

ip link set up mtu 1528 dev tinc_mesh
batctl if add tinc_mesh
$ cat /etc/tinc/tinc_mesh/tinc.conf
BindToAddress = * 60655
DirectOnly = yes
Hostnames = yes
IndirectData = yes
#ConnectTo =
Broadcast = direct
DeviceType = tap
Mode = switch
Name = HSNode
PingTimeout = 30 
Cipher = none
$ cat ~/tinc_watchdog
#!/bin/sh

exec >/tmp/tinc_watchdog.log 2>&1
date

is_running() { ps aux | grep -v grep | grep "$1" > /dev/null; }

echo > /var/log/tinc.tinc_mesh.log

if is_running "tincd"; then 
  echo "tinc daemon is still running"
else  
  echo "start tinc daemon"
  /sbin/tincd -n tinc_mesh --log /var/log/tinc.NETNAME.log --debug=3  
fi

Crontab-Eintrag (/etc/crontab) um den watchdog alle 5min zu starten:

#*/5 *   * * *   root    /root/tinc_watchdog > /dev/null