Fix "Cannot read /proc/mounts" cosmetics.
authorTim Yamin <plasmaroo@gentoo.org>
Fri, 30 Jun 2006 20:43:04 +0000 (20:43 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Fri, 30 Jun 2006 20:43:04 +0000 (20:43 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@415 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index f1d17fd3e8c7beef384cfd7061ab08f8d6384686..c51d2b544188c7c662b109dd2c85881ca4ed9d28 100644 (file)
@@ -22,8 +22,8 @@ then
        exit 1
 fi
 
-mount -o remount,rw /
-mount -t proc proc /proc
+mount -o remount,rw / >/dev/null 2>&1
+mount -t proc proc /proc >/dev/null 2>&1
 
 # activate suspend2
 if [ -w /proc/suspend2/do_resume ]