From 067502de4f56df432a6babe2469b144000acb317 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Wed, 26 Sep 2007 18:54:06 +0000 Subject: Compare files --- usr/sbin/update_dns_cache.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.1