mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
26 lines
502 B
Plaintext
26 lines
502 B
Plaintext
#!/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 $?
|
|
}
|