summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/autofs/files/auto.net')
-rw-r--r--net-fs/autofs/files/auto.net4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-fs/autofs/files/auto.net b/net-fs/autofs/files/auto.net
index 11bcc30e6bb8..aad4647ac5d3 100644
--- a/net-fs/autofs/files/auto.net
+++ b/net-fs/autofs/files/auto.net
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: auto.net,v 1.1 2004/12/09 07:25:12 robbat2 Exp $
+# $Id: auto.net,v 1.2 2004/12/09 08:25:48 robbat2 Exp $
# This file must be executable to work! chmod 755!
@@ -22,7 +22,7 @@ opts="-fstype=nfs,hard,intr,nodev,nosuid,nonstrict"
# Newer distributions get this right
SHOWMOUNT="/usr/sbin/showmount --no-headers -e $key"
-$SHOWMOUNT | sort +0 | \
+$SHOWMOUNT | LC_ALL=C sort +0 | \
awk -v key="$key" -v opts="$opts" -- '
BEGIN { ORS=""; first=1 }
{ if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }