Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 130788 Details for
Bug 158449
net-fs/autofs-5.0.1_rc3 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fixed version of "net-fs/autofs/files/autofs5.init"
autofs5.init (text/plain), 1.52 KB, created by
Alexander Skwar
on 2007-09-13 07:53:42 UTC
(
hide
)
Description:
fixed version of "net-fs/autofs/files/autofs5.init"
Filename:
MIME Type:
Creator:
Alexander Skwar
Created:
2007-09-13 07:53:42 UTC
Size:
1.52 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvs/root/autofs/gentoo/net-fs/autofs/files/autofs.init,v 1.17 2006/03/30 02:09:51 raven Exp $ > ># rc file for automount using a Sun-style "master map". ># We first look for a local /etc/autofs/auto.master, then a YP ># map with that name > >DAEMON=/usr/sbin/automount >SYSCONFDIR=/etc/autofs >MASTERMAP=$SYSCONFDIR/auto.master >pidfile=/var/run/autofs.pid > >depend() { > need localmount portmap > use ypbind nfs slapd portmap >} > >opts="start stop status reload restart" > >start() { > ebegin "Starting automounter" > > # ensure autofs support is loaded > grep -q autofs /proc/filesystems || modprobe -k autofs4 2>/dev/null > if [ $? -ne 0 ] > then > eend 1 "No autofs support available" > exit 1 > fi > > start-stop-daemon --start --pidfile $pidfile --quiet \ > --exec $DAEMON -- --pid-file=$pidfile $MASTERMAP > ret=$? > > [[ $ret -ne 0 ]] && echo "Could not start automount" > > eend $ret >} > >stop() { > ebegin "Stopping automounter" > > dname=`basename $DAEMON` > > start-stop-daemon --stop --quiet \ > --retry TERM/5 \ > --pidfile $pidfile --name $dname > ret=$? > > case $ret in > 0) > rm -f $pidfile > ;; > 1) > echo "No process for automount of pid `cat $pidfile`" > rm -f $pidfile > ;; > 2) > echo "Couldn't stop automount with pid `cat $pidfile`" > ;; > *) > echo "Strange start-stop-daemon exit status: $?" > ;; > esac > > eend $ret >} > >reload() { > echo "Reloading automounter maps" > kill -HUP `cat $pidfile` >} > >restart() { > svc_stop > svc_start >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 158449
:
104278
|
104279
|
108736
|
108738
|
122584
|
122666
|
130691
|
130706
|
130707
|
130709
|
130711
|
130713
| 130788 |
130789
|
135187
|
135188
|
140809
|
140810
|
140811
|
142301
|
142302