7.0 Beta2 script bug

I have a permission error on a command run from script or from ssh

/ip/accounting/uncounted/get bytes
not enough permissions (9)

This works fine for all 6.xx version.


Some other command is missing on x86 7b2:

:put [/system routerboard get model]
bad command name routerboard (line 1 column 15)

This works fine same X86 virtual server running 6.xx, just not giving any information since its not a router board.
I have not found a way to simple test a command if it exists or not to prevent script from failing.

Put it into a condition:

:if ([/system routerboard get routerboard] = true) do={
  :put [/system routerboard get model]
}

x86 and CHR won’t have routerboard menu. Solution:

:do { :put [/system routerboard print] } on-error={:put "not supported"}