* Fix a bug in runcmd() - the argv[] list was not NULL terminated.
[dragonfly.git] / etc / rc.d / sdpd
blob6888930c4139b2e4b2cc00b60dc8c62fb3e70414
1 #!/bin/sh
3 # $NetBSD: sdpd,v 1.2 2007/03/18 15:53:54 plunky Exp $
4 # $DragonFly: src/etc/rc.d/sdpd,v 1.1 2008/01/06 21:51:30 hasso Exp $
6 # PROVIDE: sdpd
7 # REQUIRE: bluetooth
8 # BEFORE: LOGIN
10 $rc_subr_loaded . /etc/rc.subr
12 name="sdpd"
13 rcvar=$name
14 command="/usr/sbin/${name}"
16 load_rc_config $name
17 run_rc_command "$1"