diff options
author | 2002-04-11 13:31:08 +0000 | |
---|---|---|
committer | 2002-04-11 13:31:08 +0000 | |
commit | 57fe5b05545feb7b06136590888060028c52fec3 (patch) | |
tree | 8cee496b8af22248f74070f5f6fb95346ff879b2 /net-fs/autofs/files | |
parent | Added Bigloo 2.4c, a Scheme compiler for JVM and x86 (diff) | |
download | gentoo-2-57fe5b05545feb7b06136590888060028c52fec3.tar.gz gentoo-2-57fe5b05545feb7b06136590888060028c52fec3.tar.bz2 gentoo-2-57fe5b05545feb7b06136590888060028c52fec3.zip |
Gentoofied autofs script
Diffstat (limited to 'net-fs/autofs/files')
-rwxr-xr-x | net-fs/autofs/files/autofs | 10 |
1 files changed, 5 insertions, 5 deletions
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 ${@} |