lantiq: add support for /tmp/sysinfo

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41472
This commit is contained in:
John Crispin
2014-07-02 16:33:11 +00:00
parent 80e3282739
commit e2915c6981
5 changed files with 28 additions and 8 deletions

View File

@@ -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)

View File

@@ -68,7 +68,7 @@ payload="bridged"
lan_mac=""
wan_mac=""
board=$(lantiq_board_id)
board=$(lantiq_board_name)
case "$board" in
# adm6996

View File

@@ -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