Hello,
Thank you for reaching out!
Could you share a little more information about your script? Perhaps send the entire script via a private message?
I've tested it by creating a script:
#!/bin/sh
/etc/init.d/firewall restart
And the firewall restarted as expected, with all the logs in the console, and the logread output contained:
Mon Jan 9 08:11:40 2023 kern.notice Firewall was restarted.
Mon Jan 9 08:11:40 2023 kern.notice ip_blockd re-inserting iptables and filling out ipsets
It would also be great if you could attach a troubleshoot file after replicating the issue. Troubleshoot file can be generated by navigating to System → Administration → Troubleshoot. It can be sent to me via a private message or attached to the original post. It will only be visible to Teltonika moderators.
Best regards,
DaumantasG