ACPI wakeup tool 1.0 review

Download
by rbytes.net on

ACPI wakeup tool is a little commandline application that allows your linux computer to wakeup from soft-off (S5) at a predetermined

License: BSD License
File size: 9K
Developer: Ron Bessems
0 stars award from rbytes.net

ACPI wakeup tool is a little commandline application that allows your linux computer to wakeup from soft-off (S5) at a predetermined time.

If you want to have a server turn off at night but poweron it selfs in the morning you would have to set this manually each and every day, writing a shell script is possible but handling dates is a pain on the shell. Hence I wrote this tool to be a quick way to set the ACPI wakeup time.

It was tested on an ASUS A78N8X LA, this is a nForce2 chipset manufactered by Asus for HP. However this should work on many different motherboards.

Install this application and add it to your shutdown scripts. That way when the computer gets shutdown this tool set the next wakeup time into the BIOS.

Installation:

Place wakeup in /usr/sbin

Create a file in init.d called wakeup with the following content:

#!/bin/bash
#

OPTIONS="7:30:00"

. /lib/lsb/init-functions

if [ "$1" = "start" -o "$1" = "restart" ]; then
log_begin_msg "Setting RTC Wake time"
/usr/sbin/wakeup $OPTIONS
log_end_msg $?
exit
fi

if [ "$1" = "stop" ]; then
log_begin_msg "Setting RTC Wake time"
/usr/sbin/wakeup $OPTIONS
log_end_msg $?
exit
fi

echo "Unrecognised option "$1""
exit

Modify the wakeup time to your liking
Symlink from the runlevel that you are using, for me that was runlevel 2

ln /etc/init.d/wakeup /etc/rc2.d/S71wakeup -s

ACPI wakeup tool 1.0 keywords