projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: use different board names for variants
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
sbin
/
fixup-mac-address
diff --git
a/target/linux/ramips/base-files/sbin/fixup-mac-address
b/target/linux/ramips/base-files/sbin/fixup-mac-address
index 6e3bac4997cca0443ccab36c64d106067fe0b3d1..3fd8fcb97a16d2d22fb642bb364b7ed262751d48 100755
(executable)
--- 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))