[debian-edu-commits] debian-edu/ 02/07: shutdown-at-night: Suppress wakeonlan output to stderr.
Mike Gabriel
sunweaver at debian.org
Tue Feb 23 20:51:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository shutdown-at-night.
commit 9bf1adbc20e2389220118f4cf3c018346abf7468
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Feb 23 21:41:18 2016 +0100
shutdown-at-night: Suppress wakeonlan output to stderr.
---
debian/changelog | 1 +
shutdown-at-night | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ead5281..3f3139b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ shutdown-at-night (0.17) UNRELEASED; urgency=medium
[ Mike Gabriel ]
* wakeupclients: Add support for a blockage file that prevents from
other clients being woken up.
+ * shutdown-at-night: Suppress wakeonlan output to stderr.
-- Wolfgang Schweer <wschweer at arcor.de> Sat, 17 Oct 2015 19:25:29 +0200
diff --git a/shutdown-at-night b/shutdown-at-night
index dd58119..b08390f 100755
--- a/shutdown-at-night
+++ b/shutdown-at-night
@@ -121,7 +121,7 @@ acpiwakeup() {
prepare_wakeonlan() {
interface="$(/sbin/route -n | awk '/^0\.0\.0\.0 / { print $8 }')"
- ethtool -s $interface wol g
+ ethtool -s $interface wol g 2>/dev/null
}
# Return true if local user is logged in, false otherwise
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/shutdown-at-night.git
More information about the debian-edu-commits
mailing list