mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 04:39:06 +08:00
bmx7-dnsupdate: Call killall with the -s
Some versions of killall do support the `killall -SIGNAL` syntax and have only `-s SIGNAL` which should be supported everywhere. I see the problem with *killall (PSmisc) 23.3* on latest TurrisOS 5.2 Signed-off-by: Jan Baier <jan.baier@amagical.net>
This commit is contained in:
parent
cb3dfe55b5
commit
400c2c129a
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=bmx7-dnsupdate
|
||||
PKG_VERSION:=0.1
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -22,7 +22,7 @@ while true; do
|
||||
|
||||
# reload dnsmasq to apply changes
|
||||
logger -t bmx7-dnsupdate "dnsmasq updated due to new hosts"
|
||||
killall -HUP dnsmasq
|
||||
killall -s HUP dnsmasq
|
||||
|
||||
# block until originators changes
|
||||
inotifywait -e create -e delete -q /var/run/bmx7/json/originators/ || sleep 10
|
||||
|
Loading…
Reference in New Issue
Block a user