Skip to content

Commit

Permalink
bmx7-dnsupdate: Call killall with the -s
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
baierjan authored and champtar committed Sep 8, 2021
1 parent 89dfd41 commit 80ed5b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/bmx7-dnsupdate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion utils/bmx7-dnsupdate/files/usr/bin/bmx7-dnsupdate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80ed5b9

Please sign in to comment.