Commit e8e3fd98 authored by Oliver Krueger's avatar Oliver Krueger Committed by rubo77

shorter mac address (leave out colons)

parent 51bc4d4c
......@@ -48,7 +48,7 @@ if [ $SETTINGS_SUFFIX = 'nodename' ]; then
SUFFIX=${SUFFIX:0:$HALF}...${SUFFIX:$SKIP:${#SUFFIX}}
fi
elif [ $SETTINGS_SUFFIX = 'mac' ]; then
SUFFIX="$(uci -q get network.bat0.macaddr)"
SUFFIX="$(uci -q get network.bat0.macaddr | /bin/sed 's/://g')"
else
# 'none'
SUFFIX=''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment