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/autofs-additional-distros.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/autofs/autofs-4.1.4/autofs-additional-distros.patch (limited to 'packages/autofs/autofs-4.1.4/autofs-additional-distros.patch') diff --git a/packages/autofs/autofs-4.1.4/autofs-additional-distros.patch b/packages/autofs/autofs-4.1.4/autofs-additional-distros.patch new file mode 100644 index 0000000000..2b1af584b3 --- /dev/null +++ b/packages/autofs/autofs-4.1.4/autofs-additional-distros.patch @@ -0,0 +1,12 @@ +--- autofs-4.1.4/samples/rc.autofs.in~ 2005-04-11 06:30:54.000000000 -0500 ++++ autofs-4.1.4/samples/rc.autofs.in 2007-04-07 13:18:44.000000000 -0500 +@@ -43,6 +43,9 @@ + system=debian + elif [ -f /etc/redhat-release ]; then + system=redhat ++elif [ -f /etc/issue ] && grep -q "^SlugOS" /etc/issue ; then ++ # SlugOS behaves like Debian, at least for autofs purposes. ++ system=debian + else + echo "$0: Unknown system, please port and contact autofs@linux.kernel.org" 1>&2 + exit 1 -- cgit v1.2.3