base-files/rc.local: ozonet diet: netifd is becoming annoying, revise rc.local accord...
authoracoul <alex@ozo.com>
Thu, 31 Mar 2016 04:34:11 +0000 (07:34 +0300)
committeracoul <alex@ozo.com>
Thu, 31 Mar 2016 05:28:36 +0000 (08:28 +0300)
package/base-files/files/etc/rc.local

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