forked from freifunk-franken/firmware
Hostname != OpenWrt (untested!!)
This commit is contained in:
parent
9b339e1413
commit
5f4bdffc34
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user