bmx7-dnsupdate: Call killall with the -s
authorJan Baier <redacted>
Wed, 18 Aug 2021 12:20:56 +0000 (14:20 +0200)
committerEtienne Champetier <redacted>
Wed, 8 Sep 2021 21:13:52 +0000 (17:13 -0400)
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 <redacted>
utils/bmx7-dnsupdate/Makefile
utils/bmx7-dnsupdate/files/usr/bin/bmx7-dnsupdate

index aa168c1b897ffbd5e5a2741b19e5f3fc2eb8f4a7..ca99c1174dd3bf6c888553414d370abc688601e3 100644 (file)
@@ -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
 
index 2f87437a24c571e15779819a234bd6d48cbce9cb..a3455161506f33b72ca533df11cb4529adb709dc 100755 (executable)
@@ -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 -HUP dnsmasq
 
     # block until originators changes
     inotifywait -e create -e delete -q /var/run/bmx7/json/originators/ || sleep 10
git clone https://git.99rst.org/PROJECT