1#!/bin/sh
2#
3# Copyright (c) 2013 The Linux Foundation. All rights reserved.
4# Copyright (C) 2011 OpenWrt.org
5#
6
7. /lib/functions/uci-defaults.sh
8. /lib/ipq806x.sh
9
10
11board=$(ipq806x_board_name)
12
13case "$board" in
14ap148)
15	ucidef_set_led_usbdev "0" "USB1" "ap148:green:usb_1" "1-1"
16	ucidef_set_led_usbdev "1" "USB3" "ap148:green:usb_3" "3-1"
17	;;
18*)
19	echo "Unsupported hardware. LED Configuration not intialized"
20	;;
21esac
22
23uci commit system
24
25exit 0
26