Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/bashSERVERFILE=$SAVEDIR/chrony.servers.$interfacechrony_config() {rm -f "$SERVERFILE"if [ "$PEERNTP" != "no" ]; thenfor server in $new_ntp_servers; doecho "$server ${NTPSERVERARGS:-iburst}" >> "$SERVERFILE"done/usr/libexec/chrony-helper update-daemon || :fi}chrony_restore() {if [ -f "$SERVERFILE" ]; thenrm -f "$SERVERFILE"/usr/libexec/chrony-helper update-daemon || :fi}