diff --git a/root_file_system/default/etc/tincstart.sh b/root_file_system/default/etc/tincstart.sh index b741eab..1dbd5ee 100755 --- a/root_file_system/default/etc/tincstart.sh +++ b/root_file_system/default/etc/tincstart.sh @@ -18,6 +18,10 @@ if [ "$SERVER" == "no" ] then hostname=$(cat /proc/sys/kernel/hostname) + if [ "$hostname" == "OpenWrt" ] + hostname="" + fi + if [ "$hostname" == "" ] hostname=$(ifconfig br-mesh | grep HWaddr | awk '{ print $5 }'|sed -e 's/://g') fi