rc: modify inittab to support LXC and LXD containter shutdown

This uses the largely unused entries that exists for UPS integration
with sysvinit to properly shutdown the containers when SIGPWR is sent
to the container's process 1.
This commit is contained in:
James Buren 2019-02-09 16:10:42 -06:00 committed by Juergen Daubert
parent c8d6581046
commit 12dcfd81a6

View File

@ -26,5 +26,6 @@ c6:2:respawn:/sbin/agetty 38400 tty6 linux
#s1:2:respawn:/sbin/agetty 38400 ttyS0 vt100
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
pf::powerfail:/sbin/shutdown -t3 -h now
# End of file