[readonly/geninitrd/devel: 239/334] Umount /proc in initrd_gen_procdata().

draenog draenog at pld-linux.org
Sat Nov 2 19:31:38 CET 2013


commit 9d949203e14bb3854772259576003cceff835b60
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 17 21:24:18 2004 +0000

    Umount /proc in initrd_gen_procdata().
    
    svn-id: @4605

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 34fc898..1a94d22 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1200,7 +1200,7 @@ if [ -n "\$root" ]; then
 	echo "\$rootnr" > /proc/sys/kernel/real-root-dev
     fi
 fi
-echo "umount /proc"
+umount /proc
 set -x
 EOF
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list