summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-11 13:31:08 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-11 13:31:08 +0000
commit881585482b83919290531faaffc9e79930cea59b (patch)
treec3acdb1d733ea9372d0ca8e15095426234361869 /net-fs
parentAdded Bigloo 2.4c, a Scheme compiler for JVM and x86 (diff)
downloadhistorical-881585482b83919290531faaffc9e79930cea59b.tar.gz
historical-881585482b83919290531faaffc9e79930cea59b.tar.bz2
historical-881585482b83919290531faaffc9e79930cea59b.zip
Gentoofied autofs script
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/autofs/ChangeLog9
-rwxr-xr-xnet-fs/autofs/files/autofs10
2 files changed, 13 insertions, 6 deletions
diff --git a/net-fs/autofs/ChangeLog b/net-fs/autofs/ChangeLog
index 3e55363fd038..a626f88fc66d 100644
--- a/net-fs/autofs/ChangeLog
+++ b/net-fs/autofs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-fs/autofs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.2 2002/02/02 05:35:05 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.3 2002/04/11 13:31:08 seemant Exp $
+
+*autofs-3.1.7-r3 (11 Apr 2002)
+
+ 11 Apr 2002; Seemant Kulleen <seemant@gentoo.org> files/autofs :
+
+ xevol@newtonave.net (David Snopek) in bug #1432 gave us a more modern
+ gentoofied script.
2 Feb 2002; Donny Davies <woodchip@gentoo.org> files/autofs.rc6 :
diff --git a/net-fs/autofs/files/autofs b/net-fs/autofs/files/autofs
index 30b99b805e81..ebc7e19fea78 100755
--- a/net-fs/autofs/files/autofs
+++ b/net-fs/autofs/files/autofs
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/sbin/runscript
#RCUPDATE:3 4:75:
-# $Id: autofs,v 1.1 2000/08/08 17:53:33 achim Exp $
+# $Id: autofs,v 1.2 2002/04/11 13:31:08 seemant Exp $
#
# rc file for automount using a Sun-style "master map".
# We first look for a local /etc/auto.master, then a YP
@@ -10,7 +10,7 @@
# /etc/rc.d/init.d/autofs or /etc/init.d/autofs
#
-. /etc/rc.d/config/functions
+. /etc/init.d/functions.sh
FLAGS="defaults 21"
@@ -107,7 +107,7 @@ start() {
getmounts | while read cmd mnt rest
do
echo -n " $mnt"
- pidfile=/var/run/autofs`echo $mnt | sed 's/\//./'`.pid
+ pidfile=/var/run/autofs`echo $mnt | sed 's/\//./g'`.pid
start-stop-daemon --start --pidfile $pidfile --quiet \
--exec $EXE -- $mnt $rest
#
@@ -153,7 +153,7 @@ restart() {
start
}
-doservice ${@}
+#doservice ${@}