## Author:# Matthias Schwarzott <zzam@gmx.de># Various other contributors from gentoo.de#RTC_WAKEUP=/usr/sbin/rtc-wakeup.sh
if[!-x"${RTC_WAKEUP}"];thenmesg"rtc-wakeup.sh not found"return1fiif[!-e/sys/class/rtc/rtc0/wakealarm];thenmesg"/sys/class/rtc/rtc0/wakealarm does not exist"return1fi"${RTC_WAKEUP}""${VDR_WAKEUP_TIME}"