diff options
Diffstat (limited to 'net-fs/autofs')
-rw-r--r-- | net-fs/autofs/files/autofs.rc6 | 16 | ||||
-rw-r--r-- | net-fs/autofs/files/autofs.rc7 | 8 | ||||
-rw-r--r-- | net-fs/autofs/files/autofs.rc8 | 6 |
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 |