From 4f722bc2c9019dd687a0df450034b18aae81f782 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 Mar 2023 18:43:03 +0100 Subject: sms-forward: disable workaround for ROS 7.9beta4 The issue has been acknowledged by Mikrotik, but the cause is still unknown as the sms code did not change since RouterOS 7.6... Well, looks like the behavior changes again with RouterOS 7.9beta4, and everything works as expected again. So disable the workaround there. --- sms-forward.rsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sms-forward.rsc b/sms-forward.rsc index 74b1b31..9259eae 100644 --- a/sms-forward.rsc +++ b/sms-forward.rsc @@ -31,7 +31,8 @@ $ScriptLock $0; } :if ($SmsForwardWorkaround != true && \ - [ $RequiredRouterOS $0 "7.8" false ] = true) do={ + [ $RequiredRouterOS $0 "7.8" false ] = true && \ + [ $RequiredRouterOS $0 "7.9beta4" false ] = false) do={ :local AutoErase [ /tool/sms/get auto-erase ]; /tool/sms/set auto-erase=(!$AutoErase); /tool/sms/set auto-erase=$AutoErase; -- cgit v1.2.3-54-g00ecf