blob: a2ac55523428ac10d407d28d96274f6490d10483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $Id: wakeup-acpi.sh 571 2007-12-10 20:50:11Z zzam $
# Author:
# Matthias Schwarzott <zzam@gmx.de>
# Various other contributors from gentoo.de
#
RTC_WAKEUP=/usr/sbin/rtc-wakeup.sh
if [ ! -x "${RTC_WAKEUP}" ]; then
mesg "acpi-wakeup.sh not found"
return 1
fi
if [ ! -e /sys/class/rtc/rtc0/wakealarm ]; then
mesg "/sys/class/rtc/rtc0/wakealarm does not exist"
return 1
fi
"${RTC_WAKEUP}" "${VDR_WAKEUP_TIME}"
|