summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/bootparams
blob: d1411001830916747992c5468594d503a5c4391d (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
26
27
28
#!/bin/sh
#
# $NetBSD: bootparams,v 1.6 2002/03/22 04:33:58 thorpej Exp $
# $FreeBSD$
#

# PROVIDE: bootparams
# REQUIRE: rpcbind DAEMON
# BEFORE:  LOGIN
# KEYWORD: FreeBSD

. /etc/rc.subr

name="bootparamd"
rcvar=`set_rcvar`
required_files="/etc/bootparams"

case ${OSTYPE} in
FreeBSD)
	command="/usr/sbin/${name}"
	;;
NetBSD)
	command="/usr/sbin/rpc.${name}"
	;;
esac

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud