summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-02-19 15:55:41 +0100
committerPatrick Simianer <p@simianer.de>2015-02-19 15:55:41 +0100
commit7ff1df17645520173f394a78e4d389137ca38be2 (patch)
treebc66794bae625cb3b35f1c9c3473f8dd59a81594 /init
parentc9a87f8ec8d8dd40bb4d20f9783304f3548dea4f (diff)
fix /etc/mtab
Diffstat (limited to 'init')
-rwxr-xr-xinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/init b/init
index 19eee10..01774c6 100755
--- a/init
+++ b/init
@@ -43,7 +43,8 @@ mount_root()
mount $1 /newroot
}
-mkdir -p /dev /proc /sys /newroot
+mkdir -p /dev /proc /sys /newroot /etc
+touch /etc/mtab
mount -t devtmpfs none /dev
mount -t proc none /proc