[debian-edu-commits] debian-edu/shutdown-at-night.git (#44) - master (branch) updated: 870f03efc505e37e045e5c621c8fd810ed0389af

Mike Gabriel sunweaver at alioth.debian.org
Wed Oct 23 09:33:55 UTC 2013


The branch, master has been updated
       via  870f03efc505e37e045e5c621c8fd810ed0389af (commit)
      from  49d05ec1052b44693a234e157a992a5847309131 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 870f03efc505e37e045e5c621c8fd810ed0389af
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Jan 4 13:44:50 2012 +0000

    * Sync with Ubuntu version 0.8ubuntu1:
      - Apply patch from Mike Gabriel clarifying reasons for host(s)
        not shutting down. (LP: #608616)
      - Add ethtool as a dependency. (LP: #607021)
    
    git-svn-id: svn+ssh://svn.debian.org/svn/debian-edu/trunk/src/shutdown-at-night@74922 6e500793-9bee-0310-a5b0-9d0909bd054d

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog  |    9 +++++++++
 debian/control    |    2 +-
 shutdown-at-night |    5 +++++
 3 files changed, 15 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index a3c2056..8e55c66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+shutdown-at-night (0.9) unstable; urgency=low
+
+  * Sync with Ubuntu version 0.8ubuntu1:
+    - Apply patch from Mike Gabriel clarifying reasons for host(s)
+      not shutting down. (LP: #608616)
+    - Add ethtool as a dependency. (LP: #607021)
+
+ -- Petter Reinholdtsen <pere at debian.org>  Wed, 04 Jan 2012 14:43:31 +0100
+
 shutdown-at-night (0.8) unstable; urgency=low
 
   * Make sure netgroup membership is checked using both the full and
diff --git a/debian/control b/debian/control
index 26631c8..2f8bec9 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Vcs-Browser: http://svn.debian.org/wsvn/debian-edu/trunk/src/shutdown-at-night
 Package: shutdown-at-night
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},  cron | fcron,
- wakeonlan, ng-utils, fping
+ wakeonlan, ng-utils, fping, ethtool
 Recommends: nvram-wakeup
 Suggests: sitesummary (>= 0.0.41)
 Description: System to shut down clients at night, and wake them in the morning
diff --git a/shutdown-at-night b/shutdown-at-night
index 84ff577..598bf06 100755
--- a/shutdown-at-night
+++ b/shutdown-at-night
@@ -82,5 +82,10 @@ if enabled_for_host ; then
 	fi
 	prepare_wakeonlan || fatal "unable to enable wake-on-lan - aborting shutdown."
 	shutdown -h 5 "Unused host being turned off for the night (cron)." < /dev/null > /dev/null 2>&1 &
+    else 
+      logger -t shutdown-at-night "client $hostname is in use; shutdown sequence will NOT be initiated."
     fi
+else
+    logger -t shutdown-at-night "shutdown-at-night ist not enabled for client $hostname."
 fi
+


hooks/post-receive
-- 
shutdown-at-night.git (shutdown-at-night Debian package)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "shutdown-at-night.git" (shutdown-at-night Debian package).




More information about the debian-edu-commits mailing list