Author: glen
Date: Mon Mar  2 13:39:24 2009
New Revision: 10159

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- no bashism, typo

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Mon Mar  2 13:39:24 2009
@@ -431,9 +431,9 @@
                fi
        fi
 
-       _ROOTFS_RO=$(awk '($1 !~ /^#/ && $2 == "/" && ($4 == "ro" || $4 ~ 
/,ro$// || $4 ~ /^ro,/ || $4 ~ /,ro,/ ) && NF >= 6) { print "ro" }' /etc/fstab)
+       _ROOTFS_RO=$(awk '($1 !~ /^#/ && $2 == "/" && ($4 == "ro" || $4 ~ 
/,ro$/ || $4 ~ /^ro,/ || $4 ~ /,ro,/ ) && NF >= 6) { print "ro" }' /etc/fstab)
        # Remount the root filesystem read-write
-       if [ "x$_ROOTFS_RO" == "x" ] ; then
+       if [ -z "$_ROOTFS_RO" ]; then
                run_cmd "Remounting root filesystem in rw mode" mount -n -o 
remount,rw /
        fi
 
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to