#!/bin/sh
#0:off LED
#1:on LED
OP=$1

if [ "${OP}" == "0" ];then
	uci set switch.led_set.enable='off'
	uci commit switch
	switch -t led -s off
else
	uci set switch.led_set.enable='on'
	uci commit switch
	switch -t led -s on
fi
