#!/bin/sh # # Copyright (c) 2013 The Linux Foundation. All rights reserved. # Copyright (C) 2011 OpenWrt.org # . /lib/functions/uci-defaults.sh . /lib/ipq806x.sh board=$(ipq806x_board_name) case "$board" in ap148) ucidef_set_led_usbdev "0" "USB1" "ap148:green:usb_1" "1-1" ucidef_set_led_usbdev "1" "USB3" "ap148:green:usb_3" "3-1" ;; *) echo "Unsupported hardware. LED Configuration not intialized" ;; esac uci commit system exit 0