aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-08-24 20:45:15 +0200
committerTom Gundersen <teg@jklm.no>2011-08-25 18:54:12 +0200
commit7cccf54fcb9fab459590b8b6fd5c51f2088e3b2e (patch)
tree3e663b65fd69b20ca50d44f7cd9dde9c39f67df9
parent8271087636e09ff40c10a8911250fd37af467bc0 (diff)
downloadinitscripts-7cccf54fcb9fab459590b8b6fd5c51f2088e3b2e.tar.xz
shutdown: rely on init being installed by the initrd
init is now included in mkinitcpio's busybox, so we don't need to copy it. This might break compat with dracut, but it can be worked around very simply in case anyone wants to use dracut with Arch, so we don't care. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.shutdown1
1 files changed, 0 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 22f6bcc..db8f50b 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -106,7 +106,6 @@ if [[ -x /run/initramfs/shutdown ]]; then
pivot_root . oldroot
#reexec init
- cp /oldroot/sbin/init /sbin
/oldroot/sbin/init u
# run /shutdown in the new root