summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/init b/init
index e287739..71cba12 100755
--- a/init
+++ b/init
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -x
echo "Loading, please wait..."
@@ -180,8 +180,8 @@ run_scripts /scripts/init-bottom
[ "$quiet" != "y" ] && log_end_msg
# Move virtual filesystems over to the real filesystem
-mount -n -o move /sys ${rootmnt}/sys
-mount -n -o move /proc ${rootmnt}/proc
+mount -n -o move -t sysfs /sys ${rootmnt}/sys
+mount -n -o move -t proc /proc ${rootmnt}/proc
# Check init bootarg
if [ -n "${init}" ] && [ ! -x "${rootmnt}${init}" ]; then