mirror of https://github.com/hak5/openwrt-owl.git
realview: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47739owl
parent
7cf1ff8a75
commit
adbe47380e
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Copyright (C) 2015 OpenWrt.org
|
||||||
|
|
||||||
|
. /lib/functions/uci-defaults-new.sh
|
||||||
|
|
||||||
|
board_config_update
|
||||||
|
|
||||||
|
ucidef_set_board_id "realview-eb-mpcore"
|
||||||
|
ucidef_set_model_name "ARM Ltd. Realview"
|
||||||
|
|
||||||
|
board_config_flush
|
||||||
|
|
||||||
|
exit 0
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. /lib/functions/uci-defaults-new.sh
|
||||||
|
|
||||||
|
board_config_update
|
||||||
|
ucidef_set_interface_lan "eth0" "dhcp"
|
||||||
|
board_config_flush
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. /lib/functions/uci-defaults.sh
|
|
||||||
|
|
||||||
ucidef_set_interface_loopback
|
|
||||||
ucidef_set_interface_raw "lan" "eth0" "dhcp"
|
|
Loading…
Reference in New Issue