Skip to content

Commit

Permalink
added check for sighuping dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
njones-lanl committed Feb 20, 2024
1 parent b38719b commit 94533fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dnsmasq-dhcpd-dynamic/update_loop.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
while true
do
smd.py
#TODO we should probably only kill on smd.py finding a change
rc=$?
if [$rc -e 1]; then
kill -1 $(pgrep dnsmasq)
fi
sleep 10
done

0 comments on commit 94533fd

Please sign in to comment.