summaryrefslogtreecommitdiffstats
path: root/usr/sbin/update_dns_cache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/sbin/update_dns_cache.sh')
-rwxr-xr-xusr/sbin/update_dns_cache.sh5
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
OpenPOWER on IntegriCloud