summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-09 20:51:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-09 20:51:55 +0000
commit61f1e2ec7303ac6f7f3af3a6a37501e60e31b6cd (patch)
tree242f76684dc51fda9a5258fad67cd7f1076de3e0 /etc
parent36a166de6f484f8a75b2eb0d0d72b4f05b07d0fb (diff)
downloadpfsense-61f1e2ec7303ac6f7f3af3a6a37501e60e31b6cd.zip
pfsense-61f1e2ec7303ac6f7f3af3a6a37501e60e31b6cd.tar.gz
Ensure nameserver information is removed at bootup before its discovered again.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index fd8c7eb..1391927 100755
--- a/etc/rc
+++ b/etc/rc
@@ -125,6 +125,9 @@ fi
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
+# Remove old nameserver resolution files
+rm -f /var/etc/nameserver*
+
# Create uploadbar tmp directory
mkdir -p /tmp/uploadbar
chmod 777 /tmp/uploadbar
OpenPOWER on IntegriCloud