Leave rc.d(8) script handling to the OpenBSD port
sysutils/obsdfreqd now has a local copy of the script as is common with daemons in port. Apply the ports patch so the new release can build without any.
This commit is contained in:
parent
df93f44eb7
commit
de605f3552
1
Makefile
1
Makefile
|
@ -16,5 +16,4 @@ clean:
|
|||
|
||||
install: obsdfreqd
|
||||
install -o root -g wheel -m 555 obsdfreqd ${PREFIX}/sbin/obsdfreqd
|
||||
install -o root -g wheel -m 555 obsdfreqd.rc ${DESTDIR}/etc/rc.d/obsdfreqd
|
||||
install -o root -g wheel -m 444 obsdfreqd.1 ${PREFIX}/man/man1/obsdfreqd.1
|
||||
|
|
11
obsdfreqd.rc
11
obsdfreqd.rc
|
@ -1,11 +0,0 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="/usr/local/sbin/obsdfreqd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="${daemon}.*"
|
||||
rc_reload=NO
|
||||
rc_bg=YES
|
||||
|
||||
rc_cmd $1
|
Reference in New Issue