HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //etc/NetworkManager/dispatcher.d/ntp
#!/bin/sh

old_ntp_servers="unknown and invalid"
new_ntp_servers=$DHCP4_NTP_SERVERS
case "$2" in
	up|vpn-up) reason=BOUND; ;;
	down|vpn-down) reason=RELEASE; ;;
	*) exit 0; ;;
esac

test -f /etc/dhcp/dhclient-exit-hooks.d/ntp || exit 0
. /etc/dhcp/dhclient-exit-hooks.d/ntp