/etc/network/if-down.d/bind9 is in bind9 1:9.10.3.dfsg.P4-8.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh -e
# Called when an interface disconnects
# Written by LaMont Jones <lamont@debian.org>
# kick named as needed
# If /usr isn't mounted yet, silently bail.
if [ ! -d /usr/sbin ]; then
exit 0
fi
# if named is running, reconfig it.
rndc reconfig >/dev/null 2>&1 &
exit 0
|