From: acoul Date: Wed, 28 Oct 2015 18:20:14 +0000 (+0200) Subject: base-files/etc/rc.local: ozonet network diet: force IP setup/fallback on first boot X-Git-Url: http://git.ozo.com/?p=openwrt-working-2016%2F.git;a=commitdiff_plain;h=939e429ba59497c05647f3fcb820f4aa7adf4b3e base-files/etc/rc.local: ozonet network diet: force IP setup/fallback on first boot --- diff --git a/package/base-files/files/etc/rc.local b/package/base-files/files/etc/rc.local index 56394773c3..dc0f3ee346 100644 --- 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