[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#717436: pu: shutdown-at-night - avoid daily email from cron when enabled



[Adam D. Barratt]
> Please stop filing stable update requests as unblocks; they're not
> requests to move a package to testing.

Sorry, my mistake copying from the wrong bug. :)

Hope to do better if I have to do it again.

> However, if the diff is purely the addition of the patch, with a
> changelog entry similar to the unstable upload, then I guess you
> could go ahead; please use 0.10+deb7u1 (predictably) as the version
> number and "wheezy" as the changelog distribution.

Thank you.  I have uploaded it.  This is the complete debdiff.

diff -Nru shutdown-at-night-0.10/debian/changelog shutdown-at-night-0.10+deb7u1/debian/changelog
--- shutdown-at-night-0.10/debian/changelog     2012-02-13 23:42:49.000000000 +0100
+++ shutdown-at-night-0.10+deb7u1/debian/changelog      2013-07-21 15:37:21.000000000 +0200
@@ -1,3 +1,10 @@
+shutdown-at-night (0.10+deb7u1) wheezy; urgency=low
+
+  * Quiet down cron job to wake up client to not complain when fping
+    notice they are unavailable.
+
+ -- Petter Reinholdtsen <pere@debian.org>  Sun, 21 Jul 2013 15:36:19 +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 -Nru shutdown-at-night-0.10/wakeupclients shutdown-at-night-0.10+deb7u1/wakeupclients
--- shutdown-at-night-0.10/wakeupclients        2008-06-13 10:55:04.000000000 +0200
+++ shutdown-at-night-0.10+deb7u1/wakeupclients 2013-07-21 15:39:21.000000000 +0200
@@ -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 {

-- 
Happy hacking
Petter Reinholdtsen


Reply to: