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.
This commit is contained in:
Christian Hesse 2023-03-24 18:43:03 +01:00
parent eab87e4d60
commit 4f722bc2c9

View file

@ -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;