aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files/etc
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2016-08-15 02:47:39 +0200
committerDaniel Golle <daniel@makrotopia.org>2016-08-19 17:53:50 +0200
commitf71f7f0df15a78a5793b8f8cdc6abff7563245e3 (patch)
tree241f8eba4cd2c75e3ae59d5a8a30343581797898 /target/linux/oxnas/base-files/etc
parentef4e511a81fbc5cc0f2dde28c809721d4e6f9d45 (diff)
downloadupstream-f71f7f0df15a78a5793b8f8cdc6abff7563245e3.tar.gz
upstream-f71f7f0df15a78a5793b8f8cdc6abff7563245e3.tar.bz2
upstream-f71f7f0df15a78a5793b8f8cdc6abff7563245e3.zip
oxnas: set preinit interface in /etc/board.d/02_network
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/base-files/etc')
-rwxr-xr-xtarget/linux/oxnas/base-files/etc/board.d/02_network2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/oxnas/base-files/etc/board.d/02_network b/target/linux/oxnas/base-files/etc/board.d/02_network
index a025027fea..b44696bed8 100755
--- a/target/linux/oxnas/base-files/etc/board.d/02_network
+++ b/target/linux/oxnas/base-files/etc/board.d/02_network
@@ -5,6 +5,8 @@
board_config_update
+ifname=eth0
+
ucidef_set_interface_lan "eth0" "dhcp"
board_config_flush