remove old servers on DHCP update (#787042)
This commit is contained in:
parent
acf2cf4df7
commit
70a359cd59
@ -9,7 +9,8 @@ chrony_config() {
|
|||||||
echo "$server $NTPSERVERARGS" >> $SERVERFILE
|
echo "$server $NTPSERVERARGS" >> $SERVERFILE
|
||||||
done
|
done
|
||||||
/usr/libexec/chrony-helper is-running &&
|
/usr/libexec/chrony-helper is-running &&
|
||||||
/usr/libexec/chrony-helper add-dhclient-servers || :
|
/usr/libexec/chrony-helper add-dhclient-servers &&
|
||||||
|
/usr/libexec/chrony-helper remove-dhclient-servers || :
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user