REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 570 B
Close
//etc/dhcp/dhclient.d/chrony.sh
Text
Base64
#!/bin/bash SERVERFILE=$SAVEDIR/chrony.servers.$interface chrony_config() { # Disable modifications if called from a NM dispatcher script [ -n "$NM_DISPATCHER_ACTION" ] && return 0 rm -f "$SERVERFILE" if [ "$PEERNTP" != "no" ]; then for server in $new_ntp_servers; do echo "$server ${NTPSERVERARGS:-iburst}" >> "$SERVERFILE" done /usr/libexec/chrony-helper update-daemon || : fi } chrony_restore() { [ -n "$NM_DISPATCHER_ACTION" ] && return 0 if [ -f "$SERVERFILE" ]; then rm -f "$SERVERFILE" /usr/libexec/chrony-helper update-daemon || : fi }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
chrony.sh
570 B
lrwxr-xr-x
2024-11-05 07:44:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).