blob: 24e4798eedcafcb3cd74ffcd92efe0cd0dd09aec (
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 "rtc-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}"
|