aboutsummaryrefslogtreecommitdiff
blob: a973fdea576c3f0dd88fe7331f8103dd04d9678d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Author:
#   Matthias Schwarzott <zzam@gmx.de>
#   Various other contributors from gentoo.de
#

if [ "${VDR_WAKEUP_TIME}" != 0 ]; then
	# it is not possible to wakeup the system!
	if yesno "${NONE_WAKEUP_IGNORE_TIMER}"; then
		# ignoring set timers
		:
	else
		# Aborting
		mesg "You have some timer set. System will not wakeup on its own!"
		return 1
	fi
fi

return 0