]> git.proxmox.com Git - mirror_lxc.git/commit
shutdown the container when powering off the container
authorDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 8 Apr 2010 07:44:23 +0000 (09:44 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 8 Apr 2010 07:44:23 +0000 (09:44 +0200)
commit563f2f2ccd2891661836c96f92f047a735355c1b
tree78e3fb1df4f308609d9c20cdf00c1aa8f9330f58
parent3bdf52d753ecf347b3b5cbff97675032f2de3e5e
shutdown the container when powering off the container

This patch allows to shutdown the container when the system
is powered off in the container.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/Makefile.am
src/lxc/start.c
src/lxc/utmp.c [new file with mode: 0644]
src/lxc/utmp.h [new file with mode: 0644]