Now that we have dhcpd and dhcrelay in base, fix the inherited rcNG scripts
[dragonfly.git] / etc / rc.d / dhcrelay
1 #!/bin/sh
2 #
3 # $NetBSD: dhcrelay,v 1.5 2002/03/22 04:33:58 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/dhcrelay,v 1.2 2002/06/13 22:14:36 gordon Exp $
5 # $DragonFly: src/etc/rc.d/Attic/dhcrelay,v 1.2 2005/01/12 02:32:15 joerg Exp $
6 #
7
8 # PROVIDE: dhcrelay
9 # REQUIRE: DAEMON
10 # BEFORE:  LOGIN
11 # KEYWORD: DragonFly
12
13 . /etc/rc.subr
14
15 name="dhcrelay"
16 rcvar=`set_rcvar`
17 command="/usr/sbin/${name}"
18 pidfile="/var/run/${name}.pid"
19
20 load_rc_config $name
21 run_rc_command "$1"