From 5e75001f1c266439ce726d9b748a46b8b13107ec Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 8 Apr 2007 04:26:58 +0000 Subject: autofs: Fix funky (and unnecessary) sort option in the auto.net script, and add support for SlugOS to the init.d/autofs script. --- packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch (limited to 'packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch') diff --git a/packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch b/packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch new file mode 100644 index 0000000000..680e6ce4fc --- /dev/null +++ b/packages/autofs/autofs-4.1.4/auto.net-sort-option-fix.patch @@ -0,0 +1,11 @@ +--- autofs-4.1.4/samples/auto.net~ 2005-04-05 08:02:09.000000000 -0500 ++++ autofs-4.1.4/samples/auto.net 2007-04-07 14:41:19.000000000 -0500 +@@ -37,7 +37,7 @@ + # Newer distributions get this right + SHOWMOUNT="$SMNT --no-headers -e $key" + +-$SHOWMOUNT | LC_ALL=C sort +0 | \ ++$SHOWMOUNT | LC_ALL=C sort | \ + awk -v key="$key" -v opts="$opts" -- ' + BEGIN { ORS=""; first=1 } + { if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 } -- cgit v1.2.3