If bmx7 isn't running just yet the folder
`/var/run/bmx7/json/originators` is missing and so the while loop runs
non stop. Now the loop sleeps for 10 seconds if inotifywait fails.
Signed-off-by: Paul Spooren <redacted>
PKG_NAME:=bmx7-dnsupdate
PKG_VERSION:=0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
killall -HUP dnsmasq
# 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