+ }
+ [ "$trigger" == "timer" ] && {
+ [ -n "$delayon" ] && echo $delayon > /sys/class/leds/${sysfs}/delay_on
+ [ -n "$delayoff" ] && echo $delayoff > /sys/class/leds/${sysfs}/delay_off
+ }
+ [ "$trigger" == "usbdev" -a -n "$dev" ] && {
+ echo $dev > /sys/class/leds/${sysfs}/device_name
+ echo $interval > /sys/class/leds/${sysfs}/activity_interval
+ }
+ [ "$trigger" == "port_state" -a -n "$port_state" ] && {
+ echo $port_state > /sys/class/leds/${sysfs}/port_state
+ }