The rc.d script should depend on the PREFIX config location.
This commit is contained in:
parent
f19de5f71f
commit
ee8170a18a
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: parpd.sh,v 1.1 2008/10/07 21:12:14 rsmarples Exp $
|
||||
# $NetBSD: parpd.sh,v 1.2 2008/11/14 19:35:17 rsmarples Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: parpd
|
||||
|
@ -11,7 +11,7 @@ $_rc_subr_loaded . /etc/rc.subr
|
|||
name="parpd"
|
||||
rcvar=$name
|
||||
command="@PREFIX@/sbin/${name}"
|
||||
required_files="/etc/${name}.conf"
|
||||
required_files="@PREFIX@/etc/${name}.conf"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue