I’ve created this script and installed it under /system/script under the name myTest1,
and I do run it with “run myTest1”. But it prints only the first of the :put’s (ie. the interfaces, but not their IPs), whereas
if I execute the two foreach blocks individually in the shell prompt then both do print correct results (here ether2 and ether24 do have IPs).
Ie. I think there is a bug in the script executor (what a name! ), or its parser.
Tested in 7.0beta5 on CRS326.