diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/sbin/update_dns_cache.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/sbin/update_dns_cache.sh b/usr/sbin/update_dns_cache.sh index 32e9996..cf58ffb 100755 --- a/usr/sbin/update_dns_cache.sh +++ b/usr/sbin/update_dns_cache.sh @@ -17,6 +17,11 @@ while [ /bin/true ]; do continue fi # We need to compare the files. + # We need to compare the files. + cmp -s /tmp/Njkd98u79.tmp $FILE + if [ "$?" -gt 0 ]; then + needsfilterreload=1 + fi done if [ "$needsfilterreload" -gt 0 ]; then /etc/rc.filter_configure_sync |