10 config_get name
$1 name
11 config_get sysfs
$1 sysfs
12 [ "$name" == "$NAME" -o "$sysfs" = "$NAME" -a -e "/sys/class/leds/${sysfs}" ] && {
13 [ "$ACTION" == "set" ] &&
14 echo 1 >/sys
/class
/leds
/${sysfs}/brightness \
15 ||
echo 0 >/sys
/class
/leds
/${sysfs}/brightness
20 [ "$1" == "clear" -o "$1" == "set" ] &&
This page took 0.042756 seconds and 5 git commands to generate.