Skip to content
Snippets Groups Projects
Commit f0461e08 authored by Oliver Krueger's avatar Oliver Krueger Committed by rubo77
Browse files

shorter mac address (leave out colons)

parent 61f8dca2
No related branches found
No related tags found
No related merge requests found
......@@ -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=''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment