Best way to shutdown dockstar? January 20, 2011 03:15AM |
Registered: 14 years ago Posts: 21 |
Re: Best way to shutdown dockstar? January 20, 2011 08:17AM |
Registered: 14 years ago Posts: 58 |
Re: Best way to shutdown dockstar? January 20, 2011 10:57AM |
Registered: 13 years ago Posts: 20 |
Re: Best way to shutdown dockstar? January 20, 2011 07:01PM |
Registered: 14 years ago Posts: 264 |
rat-netbook
Re: Best way to shutdown dockstar? January 20, 2011 11:52PM |
echo none > /sys/class/leds/dockstar:green:health/trigger echo default-on > /sys/class/leds/dockstar:orange:misc/trigger
log_action_msg "Will now halt" halt -d -f $netdown $poweroff $hddown echo none > /sys/class/leds/dockstar\:orange\:misc/trigger }
Re: Best way to shutdown dockstar? January 21, 2011 09:53AM |
Registered: 14 years ago Posts: 58 |
$ cat /etc/rc0.d/K8halt $ cat: /etc/rc0.d/K8halt: No such file or directory
log_action_msg "Will now halt" halt -d -f $netdown $poweroff $hddown }
log_action_msg "Will now halt" halt -d -f $netdown $poweroff $hddown echo none > /sys/class/leds/dockstar\:orange\:misc/trigger }
exit 0
echo none > /sys/class/leds/dockstar:green:health/trigger echo default-on > /sys/class/leds/dockstar:orange:misc/trigger
exit 0
rat-netbook
Re: Best way to shutdown dockstar? January 21, 2011 11:58AM |
# By default this script does nothing. echo none > /sys/class/leds/dockstar:green:health/trigger echo default-on > /sys/class/leds/dockstar:orange:misc/trigger /etc/init.d/apcupsd start exit 0
Re: Best way to shutdown dockstar? January 21, 2011 12:23PM |
Registered: 14 years ago Posts: 58 |
Re: Best way to shutdown dockstar? January 21, 2011 02:36PM |
Registered: 14 years ago Posts: 21 |
rat-netbook
Re: Best way to shutdown dockstar? January 21, 2011 04:58PM |
Re: Best way to shutdown dockstar? January 21, 2011 06:33PM |
Registered: 14 years ago Posts: 21 |
no dockstar, no orange. Wonder what that means?Quote
root@debian:/sys/class/leds# ls plug:green:health
Quote
uname -a Linux debian 2.6.32-5-kirkwood #1 Wed Jan 12 15:27:07 UTC 2011 armv5tel GNU/Linux
Quote
echo default-on > /sys/class/leds/plug:green:health/trigger
Quote
cat trigger none nand-disk timer [default-on] mmc0
rat-netbook
Re: Best way to shutdown dockstar? January 21, 2011 11:12PM |
rat@redstone:~$ cd /sys/class/leds rat@redstone:/sys/class/leds$ ls dockstar:green:health dockstar:orange:misc rat@redstone:/sys/class/leds$
su cd /usr/sbin fw_setenv arcNumber 2998
cd /sys/class/leds ls
Re: Best way to shutdown dockstar? January 22, 2011 04:35PM |
Registered: 14 years ago Posts: 21 |
Re: Best way to shutdown dockstar? January 24, 2011 02:24PM |
Admin Registered: 13 years ago Posts: 19,102 |
rat-netbook
Re: Best way to shutdown dockstar? January 25, 2011 03:35AM |
Re: Best way to shutdown dockstar? April 08, 2011 10:54AM |
Registered: 14 years ago Posts: 54 |
Re: Best way to shutdown dockstar? October 01, 2011 04:57PM |
Registered: 13 years ago Posts: 128 |
log_action_msg "Will now halt" halt -d -f $netdown $poweroff $hddown echo none > /sys/class/leds/status\:green\:health/triggerdoesn't work, but
log_action_msg "Will now halt" echo none > /sys/class/leds/status\:green\:health/trigger halt -d -f $netdown $poweroff $hddowndoes. BTW, I'd rather use "shutdown -h now" instead of "halt". Although, according to
Re: Best way to shutdown dockstar? October 02, 2011 08:03AM |
Registered: 14 years ago Posts: 128 |