summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2016-12-29 13:51:29 -0700
committerAaron Ball <nullspoon@oper.io>2016-12-29 13:51:29 -0700
commit602764f9fece059104b8bf31c2eeefdbd56081f3 (patch)
tree9319a1f6fb582a2e65fdabbaf132a3d3f6ddd641 /init
parent5e5165543da857122c1fedf9f329a0ad28bbb80d (diff)
downloadmkinitramfs-602764f9fece059104b8bf31c2eeefdbd56081f3.tar.gz
mkinitramfs-602764f9fece059104b8bf31c2eeefdbd56081f3.tar.xz
Removed mount cleanup
Diffstat (limited to 'init')
-rwxr-xr-xinit6
1 files changed, 0 insertions, 6 deletions
diff --git a/init b/init
index 8630934..2aa5be2 100755
--- a/init
+++ b/init
@@ -158,12 +158,6 @@ function main {
log "Mounting fakeroot"
mount_fakeroot ${ROOTDEV} ${fakeroot}
- # Clean up.
- # We actually don't do this because switch_root does this for us
- umount /proc
- umount /sys
- umount /run
-
# Boot the real McCoy
exec switch_root ${fakeroot} /sbin/init
if [[ $? -gt 0 ]]; then

Generated by cgit