Skip to content
Snippets Groups Projects
Commit c5f30fac authored by Oliver Krueger's avatar Oliver Krueger Committed by Ruben Barkow
Browse files

shorter mac address (leave out colons)

parent a555c573
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,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