forked from freifunk-franken/firmware
new hostnames for tinc - untested!
This commit is contained in:
parent
0b6d5e5c20
commit
9b339e1413
|
@ -16,7 +16,11 @@ then
|
|||
|
||||
if [ "$SERVER" == "no" ]
|
||||
then
|
||||
hostname=$(ifconfig br-mesh | grep HWaddr | awk '{ print $5 }'|sed -e 's/://g')
|
||||
hostname=$(cat /proc/sys/kernel/hostname)
|
||||
|
||||
if [ "$hostname" == "" ]
|
||||
hostname=$(ifconfig br-mesh | grep HWaddr | awk '{ print $5 }'|sed -e 's/://g')
|
||||
fi
|
||||
|
||||
if [ "$hostname" == "" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue
Block a user