Users Guide
NOTE: For more information about configuring the ignition pin (using the system.power-key-action command), see
https://docs.ubuntu.com/core/en/reference/core-configuration.
Specify the action to take when the power button is pressed.
Table 15. Values and configuration options for the ignition pin
ignore
Do nothing
poweroff (default) Shut down the system
reboot
Reboot the system
halt
Halt the system
kexec
Direct-boot a new kernel
suspend
Suspend the system
hibernate
Hibernate the system
hybrid-sleep
Suspend to both disk and RAM
lock
Screen-lock all running sessions.
For example, to reboot the system when the power button is pressed, run the command:
$ snap set core system.power-key-action=reboot
System Power Management
Configuring low power states: S3 and S4
Configure sleep state–S3
$ sudo systemctl suspend
Configure hibernate state–S4
$ sudo systemctl hibernate
Rebooting or power off
To reboot the system
$ sudo reboot
To power off
$ sudo poweroff
Configuring system wake-up from LAN or WLAN
1. Enable Wake on LAN in the BIOS program. For more information on accessing the BIOS program, see Accessing BIOS
settings
2. Connect the system to a wireless network.
$ sudo network-manager.nmcli dev wifi connect $SSID password $PSK ifname wlan0
60
Setting up the operating system