projects
/
openwrt-working-2016
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files/etc/rc.local: ozonet network diet: force IP setup/fallback on first boot
[openwrt-working-2016/.git]
/
package
/
base-files
/
files
/
etc
/
rc.local
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