SVN: rc-scripts/trunk/rc.d/rc.sysinit

glen glen at pld-linux.org
Sat Nov 24 13:34:31 CET 2012


Author: glen
Date: Sat Nov 24 13:34:31 2012
New Revision: 12602

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
unset locale when using a-z patterns

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Sat Nov 24 13:34:31 2012
@@ -810,7 +810,7 @@
 	# option is removed from /etc/mtab
 	if [ -z "$fastboot" ] && grep "^[^#].*encryption=" /etc/fstab 2>/dev/null | grep -v -q "noauto" 2>/dev/null; then
 		show "Checking encrypted filesystems"; started
-		LOOPLIST="$(awk '
+		LOOPLIST="$(LC_ALL=C awk '
 		FILENAME=="/proc/mounts" {
 			TAB[$2]=$1;
 		}
@@ -853,7 +853,7 @@
 		fi
 
 		show "Remounting encrypted filesystems back in rw mode"; busy
-		awk '
+		LC_ALL=C awk '
 		FILENAME=="/proc/mounts" {
 			TAB[$2]=$1;
 		}


More information about the pld-cvs-commit mailing list