d7e7763365
from Thomas Pfaff ok Gonzalo L. R. (maintainer)
15 lines
303 B
Bash
15 lines
303 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: adsuck.rc,v 1.2 2011/09/20 15:20:03 ajacoutot Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/adsuck"
|
|
daemon_flags="-c /var/adsuck -f /files/resolv.conf -r /files/regex /files/hosts.small"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload() {
|
|
pkill -HUP -f "^${pexp}" && pkill -USR1 -f "^${pexp}"
|
|
}
|
|
|
|
rc_cmd $1
|