Browse Source
Merge pull request #5945 from aparcar/inotify-fixup
bmx7-dnsupdate: wait 10 secs if bmx7 ins't running
lilik-openwrt-22.03
Daniel Golle
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
utils/bmx7-dnsupdate/Makefile
-
utils/bmx7-dnsupdate/files/usr/bin/bmx7-dnsupdate
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=bmx7-dnsupdate |
|
|
PKG_NAME:=bmx7-dnsupdate |
|
|
PKG_VERSION:=0.1 |
|
|
PKG_VERSION:=0.1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
|
|
|
|
|
|
@ -25,5 +25,5 @@ while true; do |
|
|
killall -HUP dnsmasq |
|
|
killall -HUP dnsmasq |
|
|
|
|
|
|
|
|
# block until originators changes |
|
|
# block until originators changes |
|
|
inotifywait -e create -e delete -q /var/run/bmx7/json/originators/ |
|
|
|
|
|
|
|
|
inotifywait -e create -e delete -q /var/run/bmx7/json/originators/ || sleep 10 |
|
|
done |
|
|
done |