/etc/network/if-up.d/openntpd is in openntpd 3.9p1+debian-9.
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 16 | #!/bin/sh
CONFIG="/etc/openntpd/ntpd.conf"
if [ "${METHOD}" = "loopback" ]
then
exit 0
fi
# Openntpd does not listen anything by default:
if ! grep -q '^[[:space:]]*listen' "$CONFIG"
then
exit 0
fi
invoke-rc.d openntpd force-reload || true
|