SVN: rc-scripts/trunk/rc.d/rc.sysinit
glen
glen at pld-linux.org
Mon Mar 2 13:39:28 CET 2009
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
More information about the pld-cvs-commit
mailing list