Add daemon_rtable to pkill calls.

This commit is contained in:
ajacoutot 2022-08-29 19:33:04 +00:00
parent cbb0f5d328
commit 12d86f8747
4 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,7 @@
COMMENT= DNS relay for ad blocking
V= 2.5.0
REVISION= 7
REVISION= 8
GH_TAGNAME= ADSUCK_${V:S/./_/g}
GH_ACCOUNT= conformal
GH_PROJECT= adsuck

View File

@ -6,11 +6,12 @@ daemon_flags="-c /var/adsuck -f /files/resolv.conf -r /files/regex /files/hosts.
. /etc/rc.d/rc.subr
rc_reload() {
pkill -HUP -xf "${pexp}" && pkill -USR1 -xf "${pexp}"
pkill -HUP -T "${daemon_rtable}" -xf "${pexp}" && \
pkill -USR1 -T "${daemon_rtable}" -xf "${pexp}"
}
rc_post() {
pkill -xf "adsuck: \[resolv monitor\]"
pkill -T "${daemon_rtable}" -xf "adsuck: \[resolv monitor\]"
}
rc_cmd $1

View File

@ -2,7 +2,7 @@ COMMENT= GNOME display manager
GNOME_PROJECT= gdm
GNOME_VERSION= 42.0
REVISION= 0
REVISION= 1
GH_ACCOUNT= rnagy
GH_PROJECT= gdm

View File

@ -13,7 +13,7 @@ rc_pre() {
}
rc_post() {
pkill -f gdm-session-worker
pkill -T "${daemon_rtable}" -f gdm-session-worker
# /etc/X11/xenodm/TakeConsole, fbtab(5)
if [[ -c /dev/dri/card0 ]]; then
chown root /dev/dri/card0