In the following example, the shutdown command is used to reboot a SPARC based system to run level 3 in two minutes without requiring additional confirmation.
# who root console Dec 12 08:08 rimmer pts/0 Dec 11 14:48 (starbug) pmorph pts/1 Dec 13 12:31 (bluemidget) # shutdown -i6 -g120 -y Shutdown started. Thu Dec 13 15:56:30 Broadcast Message from root (console) on earth Thu Dec 13 15:56:30... The system earth will be shut down in 2 minutes . . . Changing to init state 6 - please wait # INIT: New run level: 6 The system is coming down. Please wait. . . . The system is down. syncing file systems... done rebooting... . . . earth console login: |