diff options
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 2 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index 0518b7be94..eade567c39 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -8,7 +8,7 @@ preinit_set_mac_address() { . /lib/ramips.sh case $(ramips_board_name) in - bc2 | nw718) + bc2 | nw718 | esr-9753) mac=$(ramips_get_mac_binary factory 4) mac=$(maccalc or "$mac" "02:00:00:00:00:00") ifconfig eth0 hw ether $mac 2>/dev/null diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 7d45bde096..faed42162c 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -62,6 +62,9 @@ ramips_board_name() { *"DIR-600 B2") name="dir-600-b2" ;; + *"ESR-9753") + name="esr-9753" + ;; *"F5D8235 v2") name="f5d8235-v2" ;; |