2020-03-22 22:37:41 -06:00
|
|
|
Index: openwrt/package/base-files/files/etc/rc.local
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/package/base-files/files/etc/rc.local
|
|
|
|
+++ openwrt/package/base-files/files/etc/rc.local
|
|
|
|
@@ -1,4 +1,12 @@
|
|
|
|
# Put your custom commands here that should be executed once
|
|
|
|
# the system init finished. By default this file does nothing.
|
|
|
|
/etc/init.d/dnsmasq start
|
|
|
|
+
|
|
|
|
+BOARDID=$(/usr/local/bin/get_boardid)
|
|
|
|
+case "$BOARDID" in
|
|
|
|
+ 0xe885|0xe4e5|0xe6e5)
|
2022-06-14 21:27:46 -06:00
|
|
|
+ /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg on
|
2020-03-22 22:37:41 -06:00
|
|
|
+ ;;
|
|
|
|
+esac
|
|
|
|
+
|
|
|
|
exit 0
|