[debian-edu-commits] r81708 - in trunk/src/shutdown-at-night: . debian

pere at alioth.debian.org pere at alioth.debian.org
Mon Jul 15 14:57:18 UTC 2013


Author: pere
Date: 2013-07-15 14:57:18 +0000 (Mon, 15 Jul 2013)
New Revision: 81708

Modified:
   trunk/src/shutdown-at-night/debian/changelog
   trunk/src/shutdown-at-night/wakeupclients
Log:
Quiet down cron job to wake up client to not complain when fping
notice they are unavailable.

Modified: trunk/src/shutdown-at-night/debian/changelog
===================================================================
--- trunk/src/shutdown-at-night/debian/changelog	2013-07-15 14:37:40 UTC (rev 81707)
+++ trunk/src/shutdown-at-night/debian/changelog	2013-07-15 14:57:18 UTC (rev 81708)
@@ -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

Modified: trunk/src/shutdown-at-night/wakeupclients
===================================================================
--- trunk/src/shutdown-at-night/wakeupclients	2013-07-15 14:37:40 UTC (rev 81707)
+++ trunk/src/shutdown-at-night/wakeupclients	2013-07-15 14:57:18 UTC (rev 81708)
@@ -63,7 +63,7 @@
 
 sub get_alive_list {
     my @addresses = @_;
-    return split(/\s+/, `fping -a @addresses`);
+    return split(/\s+/, `fping -a @addresses 2>/dev/null`);
 }
 
 sub logmsg {




More information about the debian-edu-commits mailing list