mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
rotate-ntp: syntax for ROS 7.x
The property name changed in RouterOS v7...
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user