![Forrest logo](/images/logo.png)
systemsetup:tldr:06b95
systemsetup: Make the machine never sleep and automatically restart on power failure or kernel panic.
$ systemsetup -setsleep off -setrestartpowerfailure on -setrestartfreeze on
try on your machine
The command "systemsetup" is commonly used on macOS systems to configure various system settings. The given command has multiple arguments:
- "-setsleep off": This argument disables the system's sleep mode, meaning the computer will not automatically go into sleep or idle mode.
- "-setrestartpowerfailure on": This argument enables the automatic restarting of the system after a power failure. It ensures that the computer automatically turns back on when power is restored.
- "-setrestartfreeze on": This argument enables automatic restarting of the system in the event of a system freeze. If the computer becomes unresponsive and freezes, it will automatically restart to resolve the issue.
Overall, this command configures the system settings to turn off sleep mode and enable automatic restarting after power failures and system freezes.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.