projects
/
openwrt-working-2016
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b40b5a
)
base-files/rc.local: ozonet diet: netifd is becoming annoying, revise rc.local accord...
author
acoul
<alex@ozo.com>
Thu, 31 Mar 2016 04:34:11 +0000
(07:34 +0300)
committer
acoul
<alex@ozo.com>
Thu, 31 Mar 2016 05:28:36 +0000
(08:28 +0300)
package/base-files/files/etc/rc.local
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/rc.local
b/package/base-files/files/etc/rc.local
index dc0f3ee346c7bec0246df70a5c7f7fd54c8864fb..26a10005f7b8da5f5ab009ded05a5076ab0c56b2 100644
(file)
--- a/
package/base-files/files/etc/rc.local
+++ b/
package/base-files/files/etc/rc.local
@@
-1,7
+1,11
@@
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
+sleep 5; killall netifd
+
ifconfig lo 127.0.0.1 netmask 255.0.0.0
ifconfig eth0 192.168.1.1
+/etc/init.d/dropbear restart
+
exit 0