Server IP : 149.255.58.128 / Your IP : 216.73.216.226
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /lib/NetworkManager/dispatcher.d//20-chrony-onoffline
#!/usr/bin/sh
# This is a NetworkManager dispatcher / networkd-dispatcher script for
# chronyd to set its NTP sources online or offline when a network interface
# is configured or removed
export LC_ALL=C
chronyc=/usr/bin/chronyc
# For NetworkManager consider only selected events
if [ $# -ge 2 ]; then
case "$2" in
up|down|connectivity-change)
;;
dhcp4-change|dhcp6-change)
# Actions "up" and "connectivity-change" in some cases do not
# guarantee that the interface has a route (e.g. a bond).
# dhcp(x)-change handles at least cases that use DHCP.
;;
*)
exit 0;;
esac
fi
# Note: for networkd-dispatcher routable.d ~= on and off.d ~= off
$chronyc onoffline > /dev/null 2>&1
exit 0
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 18 2025 04:04:54 | 0 / root | 0755 | |
no-wait.d | -- | March 18 2025 04:04:55 | 0 / root | 0755 | |
pre-down.d | -- | March 18 2025 04:04:54 | 0 / root | 0755 | |
pre-up.d | -- | March 18 2025 04:05:00 | 0 / root | 0755 | |
| | | | | |
20-chrony-dhcp | 1.608 KB | October 02 2024 20:56:52 | 0 / root | 0755 | |
20-chrony-onoffline | 0.772 KB | December 05 2023 13:22:10 | 0 / root | 0755 | |
99-nvme-nbft-connect.sh | 0.114 KB | October 02 2024 19:07:34 | 0 / root | 0755 | |