base-files/etc/rc.local: ozonet network diet: force IP setup/fallback on first boot
authoracoul <alex@ozo.com>
Wed, 28 Oct 2015 18:20:14 +0000 (20:20 +0200)
committeracoul <alex@ozo.com>
Thu, 31 Mar 2016 05:28:36 +0000 (08:28 +0300)
package/base-files/files/etc/rc.local

index 56394773c3e5aee85bd2dc8999433a7c9a9975b8..dc0f3ee346c7bec0246df70a5c7f7fd54c8864fb 100644 (file)
@@ -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