/[gentoo-alt]/trunk/sys-apps/freebsd-usbin/files/rpcbind.initd
Gentoo

Contents of /trunk/sys-apps/freebsd-usbin/files/rpcbind.initd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 405 - (show annotations) (download)
Thu May 26 20:14:11 2005 UTC (8 years, 10 months ago) by flameeyes
File size: 511 byte(s)
New revision: this time installs nfs and rpcbind init.d files, so you can use nfs with locking support.

1 #!/sbin/runscript
2 # Copyright 1999-2005 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header$
5
6 depend() {
7 use net
8 before inetd
9 before xinetd
10 }
11
12 start() {
13 ebegin "Starting rpcbind"
14 rpcbind
15 local ret=$?
16 eend ${ret}
17
18 # without, if a service depending on portmap is started too fast,
19 # connecting to portmap will fail -- azarah
20 # doing that for rpcbind, too -- flameeyes
21 sleep 1
22 return ${ret}
23 }
24
25 stop() {
26 ebegin "Stopping rpcbind"
27 killall rpcbind
28 eend $?
29 }

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20