Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140811 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]
autofs5.init for autofs-5.0.2-r2.ebuild
autofs5.init (text/plain), 1.39 KB, created by
Jonas Jonsson
on 2008-01-12 14:04:11 UTC
(
hide
)
Description:
autofs5.init for autofs-5.0.2-r2.ebuild
Filename:
MIME Type:
Creator:
Jonas Jonsson
Created:
2008-01-12 14:04:11 UTC
Size:
1.39 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># 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` >}
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