Why does the machine try to boot again after the OS has shutdown? Because of the flag 0?
I set the boot_osflags to 0 and never have this trouble. Maybe the auto_action make your box boot automatically as soon as it run SRM console. I have never set this flag, so I can't confirm it.
But if you set the boot_osflags to a wrong value. Aboot will display a menu allowing you to return to the SRM console.
Regards, David