Zyxel nsa310s LEDS restored October 19, 2016 03:24PM |
Registered: 11 years ago Posts: 16 |
if [ -d /sys/class/leds/nsa310s:green:sys ]; then echo none > /sys/class/leds/nsa310s:green:sys/trigger echo none > /sys/class/leds/nsa310s:orange:sys/trigger fi if [ -d /sys/class/leds/nsa310s:green:hdd1 ]; then echo disk-activity > /sys/class/leds/nsa310s:green:hdd1/trigger echo disk-activity > /sys/class/leds/nsa310s:green:hdd2/trigger fi if [ -d /sys/class/leds/nsa310s:green:usb ]; then echo usb-host > /sys/class/leds/nsa310s:green:usb/trigger fi
/dev/disk/: total 0 drwxr-xr-x 5 root root 100 Oct 18 12:28 . drwxr-xr-x 12 root root 2820 Oct 18 20:29 .. drwxr-xr-x 2 root root 240 Oct 18 12:28 by-id drwxr-xr-x 2 root root 100 Oct 18 12:28 by-label drwxr-xr-x 2 root root 100 Oct 18 12:28 by-uuid /dev/disk/by-id: total 0 drwxr-xr-x 2 root root 240 Oct 18 12:28 . drwxr-xr-x 5 root root 100 Oct 18 12:28 .. lrwxrwxrwx 1 root root 9 Oct 18 12:29 ata-SAMSUNG_HD103SI_S1VSJDWZ577474 -> ../../sda lrwxrwxrwx 1 root root 10 Oct 18 12:29 ata-SAMSUNG_HD103SI_S1VSJDWZ577474-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 18 12:29 ata-SAMSUNG_HD103SI_S1VSJDWZ577474-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Oct 18 12:29 ata-SAMSUNG_HD103SI_S1VSJDWZ577474-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Oct 18 12:29 ata-SAMSUNG_HD103SI_S1VSJDWZ577474-part6 -> ../../sda6 lrwxrwxrwx 1 root root 9 Oct 18 12:29 wwn-0x50024e900396a410 -> ../../sda lrwxrwxrwx 1 root root 10 Oct 18 12:29 wwn-0x50024e900396a410-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 18 12:29 wwn-0x50024e900396a410-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Oct 18 12:29 wwn-0x50024e900396a410-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 Oct 18 12:29 wwn-0x50024e900396a410-part6 -> ../../sda6 /dev/disk/by-label: total 0 drwxr-xr-x 2 root root 100 Oct 18 12:28 . drwxr-xr-x 5 root root 100 Oct 18 12:28 .. lrwxrwxrwx 1 root root 10 Oct 18 12:29 rootfs -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 18 12:29 storage -> ../../sda6 lrwxrwxrwx 1 root root 10 Oct 18 12:29 swapfs -> ../../sda5 /dev/disk/by-uuid: total 0 drwxr-xr-x 2 root root 100 Oct 18 12:28 . drwxr-xr-x 5 root root 100 Oct 18 12:28 .. lrwxrwxrwx 1 root root 10 Oct 18 12:29 1105116c-6df6-4542-950d-8e6a8652f7d6 -> ../../sda6 lrwxrwxrwx 1 root root 10 Oct 18 12:29 71ec0a88-220f-495c-89ba-4a73e1e5bff5 -> ../../sda1 lrwxrwxrwx 1 root root 10 Oct 18 12:29 a7927e63-b011-46b5-af5a-3c24cc7cac10 -> ../../sda5
lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:green:copy -> ../../devices/platform/gpio-leds/leds/nsa310s:green:copy lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:green:hdd1 -> ../../devices/platform/gpio-leds/leds/nsa310s:green:hdd1 lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:green:hdd2 -> ../../devices/platform/gpio-leds/leds/nsa310s:green:hdd2 lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:green:sys -> ../../devices/platform/gpio-leds/leds/nsa310s:green:sys lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:green:usb -> ../../devices/platform/gpio-leds/leds/nsa310s:green:usb lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:orange:sys -> ../../devices/platform/gpio-leds/leds/nsa310s:orange:sys lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:red:copy -> ../../devices/platform/gpio-leds/leds/nsa310s:red:copy lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:red:hdd1 -> ../../devices/platform/gpio-leds/leds/nsa310s:red:hdd1 lrwxrwxrwx 1 root root 0 Oct 19 14:41 nsa310s:red:hdd2 -> ../../devices/platform/gpio-leds/leds/nsa310s:red:hdd2