summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/system/vyatta_update_ntp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_ntp.pl b/scripts/system/vyatta_update_ntp.pl
index 50af76fe..3cb19804 100644
--- a/scripts/system/vyatta_update_ntp.pl
+++ b/scripts/system/vyatta_update_ntp.pl
@@ -28,7 +28,7 @@ die "$0 expects no arguments\n" if (@ARGV);
print grep {! /^server/ } <STDIN>;
my $cfg = new Vyatta::Config;
-$cfg->setLevel("service ntp");
+$cfg->setLevel("system ntp");
foreach my $server ($cfg->listNodes("server")) {
print "server $server iburst";