oxnas: set preinit interface in /etc/board.d/02_network
[openwrt/openwrt.git] / target / linux / oxnas / base-files / etc / board.d / 02_network
1 #!/bin/sh
2
3 . /lib/functions/uci-defaults.sh
4 . /lib/functions/system.sh
5
6 board_config_update
7
8 ifname=eth0
9
10 ucidef_set_interface_lan "eth0" "dhcp"
11
12 board_config_flush
13
14 exit 0