The shutdown configuration in sysfs
The configured shutdown action for each shutdown trigger is stored in a sysfs attribute /sys/firmware/shutdown_actions/on_<trigger>.

The preferred way to read or change these settings is using the lsshut, chshut, and dumpconf commands. Alternatively, you can read and write to the /sys/firmware/shutdown_actions/on_<trigger> attributes.
Examples
- This command reads the shutdown setting for the
poffshutdown trigger.# cat /sys/firmware/shutdown_actions/on_poff stop
- This command changes the setting for the
restartshutdown trigger toipl:# echo ipl > /sys/firmware/shutdown_actions/on_restart
Details for the ipl, reipl, dump,
and vmcmd shutdown actions are contained in the corresponding
subdirectories in /sys/firmware. For example, /sys/firmware/ipl contains
specifications for an IPL device and other IPL parameters.