Add gcc40 build hooks. Gcc40 isn't built per default, you will have to
[dragonfly.git] / etc / rc.d / rpcbind
1 #!/bin/sh
2 #
3 # $NetBSD: rpcbind,v 1.6 2002/01/31 01:26:06 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/rpcbind,v 1.6 2002/09/06 16:18:05 gordon Exp $
5 # $DragonFly: src/etc/rc.d/rpcbind,v 1.2 2005/02/19 20:18:21 joerg Exp $
6 #
7
8 # PROVIDE: rpcbind
9 # REQUIRE: NETWORKING ntpd syslogd named ppp
10 # KEYWORD: DragonFly FreeBSD NetBSD
11
12 . /etc/rc.subr
13
14 name="rpcbind"
15 rcvar=`set_rcvar`
16 command="/usr/sbin/${name}"
17
18 case ${OSTYPE} in
19 NetBSD)
20         pidfile="/var/run/${name}.pid"
21         ;;
22 esac
23
24 load_rc_config $name
25 run_rc_command "$1"