summaryrefslogtreecommitdiffstats
path: root/usr/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-25 16:42:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-25 16:42:16 +0000
commit655f01322b3b8fa98118457144d85d63920fd942 (patch)
tree661dedaa124e018f8902f82d30269c4447c309f7 /usr/sbin
parent31381202ade83015c00c5aaa747c161fbf124ba9 (diff)
downloadpfsense-655f01322b3b8fa98118457144d85d63920fd942.zip
pfsense-655f01322b3b8fa98118457144d85d63920fd942.tar.gz
Ensure dns cache folder exists
Diffstat (limited to 'usr/sbin')
-rwxr-xr-xusr/sbin/update_dns_cache.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/sbin/update_dns_cache.sh b/usr/sbin/update_dns_cache.sh
index 49ee231..3079c59 100755
--- a/usr/sbin/update_dns_cache.sh
+++ b/usr/sbin/update_dns_cache.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+mkdir -p cd /var/db/dnscache
+
while [ /bin/true ]; do
cd /var/db/dnscache
needsfilterreload=0
OpenPOWER on IntegriCloud