aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/pistachio/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/pistachio/base-files/etc/board.d/02_network18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/pistachio/base-files/etc/board.d/02_network b/target/linux/pistachio/base-files/etc/board.d/02_network
new file mode 100755
index 0000000000..e7e0a9a930
--- /dev/null
+++ b/target/linux/pistachio/base-files/etc/board.d/02_network
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# Copyright (C) 2017 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+. /lib/functions/uci-defaults.sh
+
+
+board_config_update
+
+ucidef_set_interface_lan 'eth0' 'dhcp'
+
+board_config_flush
+
+exit 0