treewide: use the generic board_name function
[openwrt/staging/chunkeey.git] / target / linux / ramips / base-files / sbin / fixup-mac-address
index 900fb7d0869b8a870bf4e44872aaf14ae44ad0f6..98264c082e761c7f9bb865c1b488b6fd2c03d6bd 100755 (executable)
@@ -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