aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-03-24 18:43:03 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-03-24 20:11:29 +0100
commit4f722bc2c9019dd687a0df450034b18aae81f782 (patch)
treed8f7d44a110221c05b8c53470290f0db47e517df
parenteab87e4d60898e64efe44c49a07526906910816b (diff)
sms-forward: disable workaround for ROS 7.9beta4routeros-7.9beta4-1
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.
-rw-r--r--sms-forward.rsc3
1 files changed, 2 insertions, 1 deletions
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;