From b3de1fad3459aa886b3ca3e1f1f91066ab0730b6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Jun 2022 21:17:01 +0200 Subject: drop script 'rotate-ntp' For RouterOS 6.x a separate package 'ntp' exists. This adds server functionality, but allows ip addresses for the client only. I added the script 'rotate-ntp' to update addresses from names... Now with RouterOS 7.x there's no extra package and the limitation does no longer exist. So let's just drop the script. This adds migration code, that... * removes the script from configuration * removes a scheduler from configuration * sets the configured ntp pool name for ntp client --- global-config | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'global-config') diff --git a/global-config b/global-config index 70d8a2f..b1f4770 100644 --- a/global-config +++ b/global-config @@ -8,7 +8,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 80; +:global GlobalConfigVersion 81; # This is used for DNS and backup file. :global Domain "example.com"; @@ -146,10 +146,6 @@ # add more here... }; -# This address should resolve ntp servers and is used to update -# ntp settings. A pool can rotate servers. -:global NtpPool "pool.ntp.org"; - # This is the address used to send gps data to. :global GpsTrackUrl "https://example.com/index.php"; -- cgit v1.2.3-70-g09d2