aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/sbin')
-rwxr-xr-xtarget/linux/ramips/base-files/sbin/fixup-mac-address3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/sbin/fixup-mac-address b/target/linux/ramips/base-files/sbin/fixup-mac-address
index 900fb7d086..98264c082e 100755
--- a/target/linux/ramips/base-files/sbin/fixup-mac-address
+++ b/target/linux/ramips/base-files/sbin/fixup-mac-address
@@ -1,14 +1,13 @@
#!/bin/sh
. /lib/functions.sh
. /lib/functions/system.sh
-. /lib/ramips.sh
partname=""
offset=""
NEW_MAC=
YES=
-board=$(ramips_board_name)
+board=$(board_name)
case $board in
witi)
partname=factory