# disable power button

#### disable power button
    sysctl hw.acpi.power_button_state=NONE

#### add to `/etc/sysctl.conf`
    hw.acpi.power_button_state=NONE
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9