aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/sbin/fixup-mac-address
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/sbin/fixup-mac-address')
-rwxr-xr-xtarget/linux/ramips/base-files/sbin/fixup-mac-address3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/sbin/fixup-mac-address b/target/linux/ramips/base-files/sbin/fixup-mac-address
index 6e3bac4997..3fd8fcb97a 100755
--- a/target/linux/ramips/base-files/sbin/fixup-mac-address
+++ b/target/linux/ramips/base-files/sbin/fixup-mac-address
@@ -7,7 +7,8 @@ offset=""
NEW_MAC=
YES=
-case "$(cat /tmp/sysinfo/board_name)" in
+board=$(ramips_board_name)
+case $board in
witi)
partname=factory
offset=$((0xe000))