diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-01-06 23:26:20 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-01-06 23:26:20 +0100 |
commit | e63bdd1887ebd984f9045097e8b9c08e5e38b143 (patch) | |
tree | 6521053167a2c90b2a912083d26ace1fcd485b0a | |
parent | Bumped to version 2.0.0 (diff) | |
download | gentoo-vdr-scripts-e63bdd1887ebd984f9045097e8b9c08e5e38b143.tar.gz gentoo-vdr-scripts-e63bdd1887ebd984f9045097e8b9c08e5e38b143.tar.bz2 gentoo-vdr-scripts-e63bdd1887ebd984f9045097e8b9c08e5e38b143.zip |
removed useless/unusable sudoers check, reported by Lucian Muresan
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | usr/share/vdr/rcscript/pre-start-50-shutdown.sh | 9 |
2 files changed, 4 insertions, 9 deletions
@@ -1,6 +1,10 @@ # ChangeLog for gentoo-vdr-scripts # $Id$ + 06 Jan 2014; Joerg Bornkessel <hd_brummy@gentoo.org> + usr/share/vdr/rcscript/pre-start-50-shutdown.sh: + removed useless/unusable sudoers check, reported by Lucian Muresan + *gentoo-vdr-scripts-2.0.0 (30 Mar 2013) 30 Mar 2013; Joerg Bornkessel <hd_brummy@gentoo.org> +README.grub2, README, diff --git a/usr/share/vdr/rcscript/pre-start-50-shutdown.sh b/usr/share/vdr/rcscript/pre-start-50-shutdown.sh index 1bf6fdb..3cc9aa5 100644 --- a/usr/share/vdr/rcscript/pre-start-50-shutdown.sh +++ b/usr/share/vdr/rcscript/pre-start-50-shutdown.sh @@ -12,15 +12,6 @@ addon_main() { # no custum shutdown-script add_param "--shutdown=/usr/share/vdr/bin/vdrshutdown-gate.sh" - # some sanity warnings - if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh /etc/sudoers; then - eerror " depricated entry in /etc/sudoers" - eerror " To keep the shutdown work correctly, remove the line from /etc/sudoers" - eerror " vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" - eerror " or call emerge --config gentoo-vdr-scripts" - logger -t vdr "ERROR: Depricated entry in /etc/sudoers, please migrate" - fi - # warning about depricated acpi wakeup kernel > 2.6.38 if [ "${WAKEUP_METHOD}" = acpi ]; then ewarn "use of acpi wakeup method is depricated" |