Use this procedure when you want to shut down the OS and reach the ok prompt.
# shutdown -g0 -i0 -y
Shutdown started. Wed Sep 19 15:17:45 PDT 2012
Changing to init state 0 - please wait
Broadcast Message from root (console) on systemA.com Wed Sep 19 15:17:45...
THE SYSTEM systemA.com IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged
root@systemA:~# svc.startd: The system is coming down. Please wait.
svc.startd: 126 system services are now being stopped.
Sep 19 15:18:01 systemA.com syslogd: going down on signal 15
svc.startd: Killing user processes.
Sep 19 15:18:07 The system is down. Shutdown took 22 seconds.
syncing file systems... done
Program terminated
< . . . >
{0} ok
The OS is shut down and the OpenBoot prompt (ok) is displayed.