X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=nsd%2Fnsd-dynipwatch;h=bd4b1449ff78df362c9692967412e308831dfbcd;hb=f7388a2e7065022543960917aa1275073c85e0c3;hp=bfdb8407bad273f34f3cf78b7d3e5038be28a69d;hpb=7bc50756b64ad2e0ecf4ff343b34cab1a453c5e4;p=shutils.git diff --git a/nsd/nsd-dynipwatch b/nsd/nsd-dynipwatch index bfdb840..bd4b144 100755 --- a/nsd/nsd-dynipwatch +++ b/nsd/nsd-dynipwatch @@ -48,6 +48,7 @@ function setSerialInZonefile # function run() { + touch ${watchfile} while true; do inotifywait -q -t 30 -e close_write "${watchfile}" > /dev/null ret=$?