summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-10-29 09:51:45 -0700
committerrbalocca <rbalocca@vyatta.com>2008-10-29 09:51:45 -0700
commitc923fc8115a4c1e3c002221ecf6b691947058246 (patch)
tree185fa61ef8f91ac842c19cbd4399ff8bfb4b7ac1
parentc80f7c08a099a2c7614caf091b3cfe3ae581bee7 (diff)
downloadinitramfs-tools-c923fc8115a4c1e3c002221ecf6b691947058246.tar.gz
initramfs-tools-c923fc8115a4c1e3c002221ecf6b691947058246.zip
Remove startup warnings
-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