[debian-edu-commits] debian-edu/ 50/64: Quiet down cron job to wake up client to not complain when fping notice they are unavailable.

Mike Gabriel sunweaver at debian.org
Wed Oct 23 09:51:56 UTC 2013


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 4050dbd5c27a77dc2084c5c8f53c05a8b2ee39c3
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Jul 15 14:57:18 2013 +0000

    Quiet down cron job to wake up client to not complain when fping
    notice they are unavailable.
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@81708 6e500793-9bee-0310-a5b0-9d0909bd054d
---
 debian/changelog |    7 +++++++
 wakeupclients    |    2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4db7411..c93f3af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+shutdown-at-night (0.11) UNRELEASED; urgency=low
+
+  * Quiet down cron job to wake up client to not complain when fping
+    notice they are unavailable.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Mon, 15 Jul 2013 16:56:35 +0200
+
 shutdown-at-night (0.10) unstable; urgency=low
 
   * Do not shut down if uptime is less then an hour.  Based on patch and
diff --git a/wakeupclients b/wakeupclients
index 5139c13..01f0e87 100755
--- a/wakeupclients
+++ b/wakeupclients
@@ -63,7 +63,7 @@ sub wakeup {
 
 sub get_alive_list {
     my @addresses = @_;
-    return split(/\s+/, `fping -a @addresses`);
+    return split(/\s+/, `fping -a @addresses 2>/dev/null`);
 }
 
 sub logmsg {

-- 
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