SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Sun Aug 1 17:24:13 CEST 2010


Author: glen
Date: Sun Aug  1 17:24:12 2010
New Revision: 11733

Modified:
   geninitrd/trunk/geninitrd
Log:
- umount /proc as last

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Sun Aug  1 17:24:12 2010
@@ -214,10 +214,6 @@
 		echo 'umount /dev' | add_linuxrc
 		dev_mounted=no
 	fi
-	if is_yes "$proc_mounted"; then
-		echo 'umount /proc' | add_linuxrc
-		proc_mounted=no
-	fi
 	if is_yes "$sys_mounted"; then
 		echo 'umount /sys' | add_linuxrc
 		sys_mounted=no
@@ -226,6 +222,10 @@
 		echo 'umount /tmp' | add_linuxrc
 		tmp_mounted=no
 	fi
+	if is_yes "$proc_mounted"; then
+		echo 'umount /proc' | add_linuxrc
+		proc_mounted=no
+	fi
 }
 
 


More information about the pld-cvs-commit mailing list