[debian-edu-commits] r80047 - in branches/wheezy/debian-edu-config: debian etc/dhcp/dhclient-exit-hooks.d

pere at alioth.debian.org pere at alioth.debian.org
Fri May 10 18:16:14 UTC 2013


Author: pere
Date: 2013-05-10 18:16:14 +0000 (Fri, 10 May 2013)
New Revision: 80047

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/etc/dhcp/dhclient-exit-hooks.d/hostname
Log:
Adjust dhclient-exit-hooks.d/hostname script to syslog when the
hostname is updated.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-05-10 17:13:27 UTC (rev 80046)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-05-10 18:16:14 UTC (rev 80047)
@@ -26,6 +26,10 @@
   * Add script /etc/dhcp/dhclient-exit-hooks.d/hostname, which will
     set the client's hostname.
 
+  [ Petter Reinholdtsen ]
+  * Adjust dhclient-exit-hooks.d/hostname script to syslog when the
+    hostname is updated.
+
  -- Petter Reinholdtsen <pere at debian.org>  Wed, 08 May 2013 11:17:25 +0200
 
 debian-edu-config (1.704~svn80012) wheezy-test; urgency=low

Modified: branches/wheezy/debian-edu-config/etc/dhcp/dhclient-exit-hooks.d/hostname
===================================================================
--- branches/wheezy/debian-edu-config/etc/dhcp/dhclient-exit-hooks.d/hostname	2013-05-10 17:13:27 UTC (rev 80046)
+++ branches/wheezy/debian-edu-config/etc/dhcp/dhclient-exit-hooks.d/hostname	2013-05-10 18:16:14 UTC (rev 80047)
@@ -17,4 +17,4 @@
 echo $hostname > /etc/hostname
 hostname $hostname
 echo dhclient-exit-hooks.d/hostname: Dynamic Hostname = $hostname
-
+logger -t dhclient-exit-hooks.d/hostname "changing hostname to $hostname based on DHCP IP address $new_ip_address"




More information about the debian-edu-commits mailing list