openwrtv4/target/linux/oxnas/base-files/etc/board.d/02_network
Daniel Golle 8880497382 oxnas: use DHCP by default on ethernet interface (lan)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-07-18 19:37:43 +02:00

12 lines
160 B
Bash
Executable file

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