Author: czarny
Date: Sun Dec 10 00:42:52 2006
New Revision: 8091

Modified:
   geninitrd/branches/devel/geninitrd
Log:
- it'd be nice if e newly established inint program would be executable


Modified: geninitrd/branches/devel/geninitrd
==============================================================================
--- geninitrd/branches/devel/geninitrd  (original)
+++ geninitrd/branches/devel/geninitrd  Sun Dec 10 00:42:52 2006
@@ -1498,7 +1498,7 @@
        cat << EOF >> "$s"
 mount -t $rootFs \$root /newroot 
 init="\$(busybox awk ' /init=\// { gsub(/.*init=/,NIL,\$0); gsub(/ 
.*/,NIL,\$0); print \$0; }  ' /proc/cmdline )"
-if [ -z "\$init" -o ! -n "/newroot\$init" ]; then
+if [ -z "\$init" -o ! -x "/newroot\$init" ]; then
        init=/sbin/init
 fi
 umount /proc
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to