summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-04 19:26:40 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-04 19:26:40 +0000
commitf8297c25908dbfae9e8bff6d35f044117f155f14 (patch)
tree906a4b8d09fdcff66c95cd5710532b2687e904de /net-fs/autofs
parentMarked stable for x86. Removed old ebuilds. (Manifest recommit) (diff)
downloadgentoo-2-f8297c25908dbfae9e8bff6d35f044117f155f14.tar.gz
gentoo-2-f8297c25908dbfae9e8bff6d35f044117f155f14.tar.bz2
gentoo-2-f8297c25908dbfae9e8bff6d35f044117f155f14.zip
gpl2, forget the later
Diffstat (limited to 'net-fs/autofs')
-rw-r--r--net-fs/autofs/files/autofs.rc616
-rw-r--r--net-fs/autofs/files/autofs.rc78
-rw-r--r--net-fs/autofs/files/autofs.rc86
3 files changed, 15 insertions, 15 deletions
diff --git a/net-fs/autofs/files/autofs.rc6 b/net-fs/autofs/files/autofs.rc6
index 7610f8ed9b4b..e55c1a0348e3 100644
--- a/net-fs/autofs/files/autofs.rc6
+++ b/net-fs/autofs/files/autofs.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc6,v 1.6 2003/02/14 22:59:49 vapier Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc6,v 1.7 2004/03/04 19:22:49 vapier Exp $
# rc file for automount using a Sun-style "master map".
# We first look for a local /etc/auto.master, then a YP
@@ -51,12 +51,12 @@ fi
#
if [ -e /usr/bin/ypcat ] && [ `ypcat -k auto.master 2>/dev/null | wc -l` -gt 0 ]
then
- ypcat -k auto.master | (
+ ypcat -k auto.master | (
while read dir map options
do
- if [ ! -z "$dir" -a ! -z "$map" \
+ if [ ! -z "$dir" -a ! -z "$map" \
-a x`echo "$map" | cut -c1` != 'x-' ]
- then
+ then
map=`echo "$map" | sed -e 's/^auto_/auto./'`
if echo $options | grep -- '-t' >/dev/null 2>&1 ; then
mountoptions="--timeout $(echo $options | \
@@ -66,9 +66,9 @@ then
s/--*t\(imeout\)*[ \t]*[0-9][0-9]*//g
s/\(^\|[ \t]\)-/\1/g'`
echo "/usr/sbin/automount $mountoptions $dir yp $map $options $localoptions"
- fi
+ fi
done
- )
+ )
fi
}
diff --git a/net-fs/autofs/files/autofs.rc7 b/net-fs/autofs/files/autofs.rc7
index 210fef4ca782..9b132e821ceb 100644
--- a/net-fs/autofs/files/autofs.rc7
+++ b/net-fs/autofs/files/autofs.rc7
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc7,v 1.2 2003/02/14 22:59:53 vapier Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc7,v 1.3 2004/03/04 19:23:12 vapier Exp $
# rc file for automount using a Sun-style "master map".
# We first look for a local /etc/auto.master, then a YP
@@ -133,4 +133,4 @@ reload() {
restart() {
svc_stop
svc_start
-} \ No newline at end of file
+}
diff --git a/net-fs/autofs/files/autofs.rc8 b/net-fs/autofs/files/autofs.rc8
index 698ec42964b0..39befcb0b0ce 100644
--- a/net-fs/autofs/files/autofs.rc8
+++ b/net-fs/autofs/files/autofs.rc8
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc8,v 1.6 2003/07/26 10:46:45 cretin Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/files/autofs.rc8,v 1.7 2004/03/04 19:23:12 vapier Exp $
# rc file for automount using a Sun-style "master map".
# We first look for a local /etc/auto.master, then a YP