For anyone facing similar issue with starting of more then one container even if start-on-boot has been enabled.
I have updated my router running on 7.6 and only one container has been started after reboot.
Here is a workaround script
Code: Select all
add dont-require-permissions=yes name=start_containers owner=admin policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":local Nr [:len [:toarray [/container find status=stopped]]]\r\
\n:local i 0\r\
\n\r\
\n:while (\$i <\$Nr) do={\r\
\n :put \"Starting container with id: \$i\"; \r\
\n /container/start number=\$i;\r\
\n :set i (\$i +1);\r\
\n}\r\
\n"