chiark / gitweb /
shutdown: don't pivot to /run/initramfs if already there
authorTom Gundersen <teg@jklm.no>
Wed, 28 Nov 2012 16:27:17 +0000 (17:27 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 28 Nov 2012 17:26:35 +0000 (18:26 +0100)
commit02eaa78835fb994dbe609296d9b9d0c9b463cc1c
tree2d4e5f37d529a959425603fc383a1e642cda71aa
parent8050c22151aeaa8a0029e57bd28fc84d25077e4f
shutdown: don't pivot to /run/initramfs if already there

This allows systemd-shutdown to be installed as /run/initramfs/shutdown
and take care of the proper teardown of the rootfs.
src/core/shutdown.c