/etc/dhcp/dhclient-exit-hooks.d/autofs-reload is in debian-edu-config 1.818+deb8u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
# Workaround for 710490 where autofs cache failing DNS entries
# when started before the network is up.
if [ -r /etc/debian-edu/config ] ; then
. /etc/debian-edu/config
fi
if [ false = "$DHCP_AUTOFS_UPDATE" ] ; then
exit 0
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)
;;
esac
|