summaryrefslogtreecommitdiff
path: root/scripts/vyatta-system-nameservers
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-system-nameservers')
-rwxr-xr-xscripts/vyatta-system-nameservers1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-system-nameservers b/scripts/vyatta-system-nameservers
index 7b66cf77..99019fd1 100755
--- a/scripts/vyatta-system-nameservers
+++ b/scripts/vyatta-system-nameservers
@@ -39,6 +39,7 @@ restart_dnsmasq () {
restart_ntp () {
# restart ntp if ntp is configured
if [ -f /etc/ntp.conf ] && grep -q "^server" /etc/ntp.conf; then
+ sudo /opt/vyatta/sbin/vyatta_update_ntp.pl
/usr/sbin/invoke-rc.d ntp restart >&/dev/null
fi
}