/[gentoo-x86]/net-misc/netkit-bootparamd/files/bootparamd.initd
Gentoo

Contents of /net-misc/netkit-bootparamd/files/bootparamd.initd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Sep 15 03:24:15 2010 UTC (9 years, 1 month ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Revision bump to respect CC/LDFLAGS, add init.d/conf.d script, added ~amd64 keyword
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 #!/sbin/runscript
2 # Copyright 1999-2010 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.idmapd.initd,v 1.8 2009/03/14 18:43:18 vapier Exp $
5
6 [ -e /etc/conf.d/bootparamd ] && . /etc/conf.d/bootparamd
7
8 rpc_bin=/usr/sbin/rpc.bootparamd
9
10 depend() {
11 use ypbind net
12 need portmap
13 after quota
14 }
15
16 start() {
17 ebegin "Starting bootparamd"
18 ${rpc_bin} ${OPTS_RPC_BOOTPARAMD}
19 eend $? "make sure DNOTIFY support is enabled ..."
20 }
21
22 stop() {
23 ebegin "Stopping bootparamd"
24 start-stop-daemon --stop --exec ${rpc_bin}
25 eend $?
26 }

  ViewVC Help
Powered by ViewVC 1.1.20