summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-20 20:07:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-20 20:07:02 +0000
commit06ba9151cd3c650861d33c70b49ed8684bcdae62 (patch)
treed13345fe6aa2021c95ceff20eb85f5b00979ffde /etc
parent27150275fd64df61982359d2d16740890b1ec30b (diff)
downloadpfsense-06ba9151cd3c650861d33c70b49ed8684bcdae62.zip
pfsense-06ba9151cd3c650861d33c70b49ed8684bcdae62.tar.gz
Unlock flash during upgrade
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.firmware_auto2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto
index 6918a17..6ab905a 100755
--- a/etc/rc.firmware_auto
+++ b/etc/rc.firmware_auto
@@ -39,11 +39,13 @@ fi
if [ "$PMD" = "$MD" ]; then
echo "MD5's match." | logger -p daemon.info -i -t AutoUpgrade
+ /etc/rc.conf_mount_rw
if [ -r "/tmp/custom.tgz" ]; then
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz /tmp/custom.tgz
else
/etc/rc.firmware pfSenseupgrade /tmp/latest.tgz
fi
+ /etc/rc.conf_mount_rw
exit 0
fi
OpenPOWER on IntegriCloud