openwrtv3/target/linux/oxnas/base-files/etc/board.d/02_network
Daniel Golle f71f7f0df1 oxnas: set preinit interface in /etc/board.d/02_network
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-08-19 17:53:50 +02:00

14 lines
173 B
Bash
Executable file

#!/bin/sh
. /lib/functions/uci-defaults.sh
. /lib/functions/system.sh
board_config_update
ifname=eth0
ucidef_set_interface_lan "eth0" "dhcp"
board_config_flush
exit 0