blob: 251e8994969a9e3e7b7ecc407fe61e62945e159c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/openrc-run
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
[ -e /etc/conf.d/bootparamd ] && . /etc/conf.d/bootparamd
rpc_bin=/usr/sbin/rpc.bootparamd
depend() {
use ypbind net
need portmap
after quota
}
start() {
ebegin "Starting bootparamd"
${rpc_bin} ${OPTS_RPC_BOOTPARAMD}
eend $? "make sure DNOTIFY support is enabled ..."
}
stop() {
ebegin "Stopping bootparamd"
start-stop-daemon --stop --exec ${rpc_bin}
eend $?
}
|