From 0ecabfecf7739d368849190e47af1ab1c51a79f0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 30 Sep 2021 12:10:57 +0200 Subject: [PATCH] rotate-ntp: syntax for ROS 7.x The property name changed in RouterOS v7... --- rotate-ntp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);