ramips: use different board names for variants
[openwrt/staging/chunkeey.git] / target / linux / ramips / base-files / sbin / fixup-mac-address
index 6e3bac4997cca0443ccab36c64d106067fe0b3d1..3fd8fcb97a16d2d22fb642bb364b7ed262751d48 100755 (executable)
@@ -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))