aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xskel/init4
-rw-r--r--skel/proc/mounts0
-rw-r--r--skel/sys/.keep0
3 files changed, 0 insertions, 4 deletions
diff --git a/skel/init b/skel/init
index fef50fc..4d86681 100755
--- a/skel/init
+++ b/skel/init
@@ -1,6 +1,5 @@
#!/bin/sh
-mkdir /proc /sys
touch /proc/mounts
mount -t proc proc /proc
mount -t devtmpfs devtmpfs /dev
@@ -24,9 +23,6 @@ if [ -z "$root" ];then
root=$(blkid -o full -s 'TYPE' | grep -v "vfat" | cut -d: -f1)
fi
-mkdir /mnt
-mkdir /mnt/root
-
fsck -p /mnt/root || rescue
mount -o ro $(findfs "$root") /mnt/root || rescue
diff --git a/skel/proc/mounts b/skel/proc/mounts
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/skel/proc/mounts
diff --git a/skel/sys/.keep b/skel/sys/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/skel/sys/.keep