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:
3c208d2
)
base-files/etc/rc.local: ozonet network diet: force IP setup/fallback on first boot
author
acoul
<alex@ozo.com>
Wed, 28 Oct 2015 18:20:14 +0000
(20:20 +0200)
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 56394773c3e5aee85bd2dc8999433a7c9a9975b8..dc0f3ee346c7bec0246df70a5c7f7fd54c8864fb 100644
(file)
--- a/
package/base-files/files/etc/rc.local
+++ b/
package/base-files/files/etc/rc.local
@@
-1,4
+1,7
@@
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
+ifconfig lo 127.0.0.1 netmask 255.0.0.0
+ifconfig eth0 192.168.1.1
+
exit 0