bootparams revision 103019
1#!/bin/sh 2# 3# $NetBSD: bootparams,v 1.6 2002/03/22 04:33:58 thorpej Exp $ 4# $FreeBSD: head/etc/rc.d/bootparams 103019 2002-09-06 16:18:05Z gordon $ 5# 6 7# PROVIDE: bootparams 8# REQUIRE: rpcbind DAEMON 9# BEFORE: LOGIN 10# KEYWORD: FreeBSD 11 12. /etc/rc.subr 13 14name="bootparamd" 15rcvar=`set_rcvar` 16required_files="/etc/bootparams" 17 18case ${OSTYPE} in 19FreeBSD) 20 command="/usr/sbin/${name}" 21 ;; 22NetBSD) 23 command="/usr/sbin/rpc.${name}" 24 ;; 25esac 26 27load_rc_config $name 28run_rc_command "$1" 29