openwrtv3/target/linux/malta/base-files/etc/uci-defaults/02-network
John Crispin 6938dac23b malta: add default network configuration
I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 45857
2015-05-31 17:45:43 +00:00

6 lines
120 B
Bash

#!/bin/sh
. /lib/functions/uci-defaults.sh
ucidef_set_interface_loopback
ucidef_set_interface_raw "lan" "eth0" "dhcp"