aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-09-30 12:10:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-01-14 09:20:09 +0100
commit0ecabfecf7739d368849190e47af1ab1c51a79f0 (patch)
tree9152105bcf7def383b6e7932ffb80a301d9b1762
parent7e5652e0c5f45f6c606a60be5eabd57df785d50d (diff)
rotate-ntp: syntax for ROS 7.xrouteros-7.x-2
The property name changed in RouterOS v7...
-rw-r--r--rotate-ntp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotate-ntp b/rotate-ntp
index 83bf90a..dd3483a 100644
--- a/rotate-ntp
+++ b/rotate-ntp
@@ -29,4 +29,4 @@
}
$LogPrintExit2 info $0 ("Updating NTP servers to " . $Ntp1 . " and " . $Ntp2) false;
-/ system ntp client set primary-ntp=$Ntp1 secondary-ntp=$Ntp2;
+/ system ntp client set servers=($Ntp1, $Ntp2);