34
To set how long the system waits to restart after a power failure:
$ sudo systemsetup
ParameterDescription
seconds | Must be a multiple of 30 seconds. |
To see if the system is set to restart after a system freeze:
$ sudo systemsetup
To set the system to restart after a system freeze:
$ sudo systemsetup
Power Management Settings
You can use the pmset command to change a variety of power management settings, including:
•Display dim timer
•Disk spindown timer
•System sleep timer
•Wake on network activity
•Wake on modem activity
•Restart after power failure
•Dynamic processor speed change
•Reduce processor speed
•Sleep computer on power button press
For more information, see the pmset man page.
Startup Disk Settings
You can use the systemsetup command to view or change a server’s computer startup disk, which would otherwise be set using the Startup Disk pane of System Preferences.
Viewing or Changing the Startup Disk
To view the current startup disk:
$ sudo systemsetup
To view the available startup disks:
$ sudo systemsetup
To change the current startup disk:
$ sudo systemsetup
Chapter 4 Setting General System Preferences