Package: nslu2-utils
Version: 0.10+r71-9

The attached udev config will set the appropriate NSLU2 disk leds to
indicate which ports have a device connected.

Requires removing the "leds disk-1 on" change to /etc/init.d/zleds.

--bod
SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="add",    
PROGRAM="/usr/bin/leds disk-%n on"
SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="remove", 
PROGRAM="/usr/bin/leds disk-%n off"

Reply via email to