diff options
author | John Crispin <john@openwrt.org> | 2014-07-02 16:33:11 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-02 16:33:11 +0000 |
commit | e2915c6981a4ba141d8ce4dc3f39e187890fb9f6 (patch) | |
tree | 419a813da3c6c4c4e9a0e4746ebeab8db763aafb /target/linux/lantiq/base-files/etc/uci-defaults | |
parent | 80e3282739dcffd1847b20093bb7757bc1ba6757 (diff) | |
download | upstream-e2915c6981a4ba141d8ce4dc3f39e187890fb9f6.tar.gz upstream-e2915c6981a4ba141d8ce4dc3f39e187890fb9f6.tar.bz2 upstream-e2915c6981a4ba141d8ce4dc3f39e187890fb9f6.zip |
lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41472
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults')
3 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds index 70a14d9bd5..2b3293b79e 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds @@ -17,7 +17,7 @@ for a in `ls /sys/class/leds/`; do [ $? -eq 0 ] && ucidef_set_led_default $a $a $a `cat /sys/class/leds/$a/brightness` done -board=$(lantiq_board_id) +board=$(lantiq_board_name) case "$board" in VG3503J) diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 02f4f6a5fb..22dea2a321 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -68,7 +68,7 @@ payload="bridged" lan_mac="" wan_mac="" -board=$(lantiq_board_id) +board=$(lantiq_board_name) case "$board" in # adm6996 diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps b/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps index f2412d7bc2..e75fb8493f 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps +++ b/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps @@ -3,10 +3,10 @@ set_wps() { uci set wireless.$1.wps_pushbutton=0 - uci set wireless.$1.wps_device_name="OpenWrt - $(lantiq_board_name)" + uci set wireless.$1.wps_device_name="OpenWrt - $(lantiq_board_model)" } -board=$(lantiq_board_id) +board=$(lantiq_board_name) case $board in WBMR) config_load wireless |