summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:49:43 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 16:23:14 -0300
commit1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch)
treeaba47ff46f335961f91cae4ba2e228e49209b310 /src/etc/rc.update_bogons.sh
parenteec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff)
downloadpfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip
pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/etc/rc.update_bogons.sh')
-rwxr-xr-xsrc/etc/rc.update_bogons.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/etc/rc.update_bogons.sh b/src/etc/rc.update_bogons.sh
index 02115e1..bcb8654 100755
--- a/src/etc/rc.update_bogons.sh
+++ b/src/etc/rc.update_bogons.sh
@@ -106,9 +106,6 @@ BOGON_V6_CKSUM=`/usr/bin/fetch -T 30 -q -o - "${v6urlcksum}" | awk '{ print $4 }
ON_DISK_V6_CKSUM=`md5 /tmp/bogonsv6 | awk '{ print $4 }'`
if [ "$BOGON_V4_CKSUM" = "$ON_DISK_V4_CKSUM" ] || [ "$BOGON_V6_CKSUM" = "$ON_DISK_V6_CKSUM" ]; then
- # At least one of the downloaded checksums matches, so mount RW
- /etc/rc.conf_mount_rw
-
ENTRIES_MAX=`pfctl -s memory | awk '/table-entries/ { print $4 }'`
if [ "$BOGON_V4_CKSUM" = "$ON_DISK_V4_CKSUM" ]; then
@@ -154,9 +151,6 @@ if [ "$BOGON_V4_CKSUM" = "$ON_DISK_V4_CKSUM" ] || [ "$BOGON_V6_CKSUM" = "$ON_DIS
echo "Could not download ${v6url} (checksum mismatch)" | logger
checksum_error="true"
fi
-
- # We mounted RW, so switch back to RO
- /etc/rc.conf_mount_ro
fi
if [ "$checksum_error" != "" ]; then
OpenPOWER on IntegriCloud