diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-07 22:42:27 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2020-01-07 22:42:27 +0100 |
commit | fa6d9c14cc7cf4f8f0eecefce8b120f9cc2629c6 (patch) | |
tree | 9e28e9e5c87214e8dcaa30ec001790acfca0e22b /usr/share | |
parent | proj/gentoo-vdr-scripts: Bumped to version 2.8 (diff) | |
download | gentoo-vdr-scripts-fa6d9c14cc7cf4f8f0eecefce8b120f9cc2629c6.tar.gz gentoo-vdr-scripts-fa6d9c14cc7cf4f8f0eecefce8b120f9cc2629c6.tar.bz2 gentoo-vdr-scripts-fa6d9c14cc7cf4f8f0eecefce8b120f9cc2629c6.zip |
gentoo-vdr-scripts.git: removed acpi wakeup support
removed acpi wakeup support, this was announced in earlier
g-v-s versions,
taken changes from https://github.com/lucianm/gentoo-vdr-scripts
Suggested-by: Lucian Muresan <lucianm@users.sourceforge.net>
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'usr/share')
-rw-r--r-- | usr/share/vdr/rcscript/pre-start-50-shutdown.sh | 9 | ||||
-rw-r--r-- | usr/share/vdr/shutdown/Makefile | 2 | ||||
-rw-r--r-- | usr/share/vdr/shutdown/wakeup-acpi.sh | 19 |
3 files changed, 1 insertions, 29 deletions
diff --git a/usr/share/vdr/rcscript/pre-start-50-shutdown.sh b/usr/share/vdr/rcscript/pre-start-50-shutdown.sh index a151a06..29c1dee 100644 --- a/usr/share/vdr/rcscript/pre-start-50-shutdown.sh +++ b/usr/share/vdr/rcscript/pre-start-50-shutdown.sh @@ -12,14 +12,5 @@ addon_main() { # no custum shutdown-script add_param "--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh" - # warning about depricated acpi wakeup kernel > 2.6.38 - if [ "${WAKEUP_METHOD}" = acpi ]; then - ewarn "use of acpi wakeup method is deprecated" - einfo "use rtc or nvram instead" - logger -t vdr "WARNING:" - logger -t vdr "use of acpi wakeup method is deprecated" - logger -t vdr "use rtc or nvram instead" - fi - return 0 } diff --git a/usr/share/vdr/shutdown/Makefile b/usr/share/vdr/shutdown/Makefile index 3b8a703..c2e4d4e 100644 --- a/usr/share/vdr/shutdown/Makefile +++ b/usr/share/vdr/shutdown/Makefile @@ -5,7 +5,7 @@ SHELL = /bin/bash MYDIR = $(DESTDIR)/usr/share/vdr/shutdown SUBDIRS = BINS = -WAKEUP = wakeup-acpi.sh wakeup-rtc.sh wakeup-nvram.sh wakeup-none.sh +WAKEUP = wakeup-rtc.sh wakeup-nvram.sh wakeup-none.sh CONFS = $(wildcard shutdown*.sh pre*.sh periodic*.sh) $(WAKEUP) all: diff --git a/usr/share/vdr/shutdown/wakeup-acpi.sh b/usr/share/vdr/shutdown/wakeup-acpi.sh deleted file mode 100644 index 6a00ed7..0000000 --- a/usr/share/vdr/shutdown/wakeup-acpi.sh +++ /dev/null @@ -1,19 +0,0 @@ -# $Id$ -# Author: -# Matthias Schwarzott <zzam@gmx.de> -# Various other contributors from gentoo.de -# - -ACPI_WAKEUP=/usr/sbin/acpi-wakeup.sh - -if [ ! -x "${ACPI_WAKEUP}" ]; then - mesg "acpi-wakeup.sh not found" - return 1 -fi - -if [ ! -e /proc/acpi/alarm ]; then - mesg "/proc/acpi/alarm does not exist" - return 1 -fi - -"${ACPI_WAKEUP}" "${VDR_WAKEUP_TIME}" |