[debian-edu-commits] debian-edu/ 02/02: Syslog when reloading autofs from dhclient, to make it easier to track why it happen.

Petter Reinholdtsen pere at moszumanska.debian.org
Thu Nov 13 21:42:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository debian-edu-config.

commit f62463add6f7e8f0f07b54cbbdea402f482c0e4c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Thu Nov 13 22:42:04 2014 +0100

    Syslog when reloading autofs from dhclient, to make it easier to track why it happen.
---
 etc/dhcp/dhclient-exit-hooks.d/autofs-reload | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/dhcp/dhclient-exit-hooks.d/autofs-reload b/etc/dhcp/dhclient-exit-hooks.d/autofs-reload
index 7e9830c..7276ba1 100755
--- a/etc/dhcp/dhclient-exit-hooks.d/autofs-reload
+++ b/etc/dhcp/dhclient-exit-hooks.d/autofs-reload
@@ -12,6 +12,7 @@ fi
 
 case $reason in
     BOUND|RENEW|REBIND|REBOOT)
+	logger -t autofs-reload "reloading autofs from dhcp exit hook"
 	service autofs reload
 	;;
     EXPIRE|FAIL|RELEASE|STOP)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list