summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index a4cc10f..c2a82a1 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -147,9 +147,10 @@ pfSenseupgrade)
/bin/mkdir -p /tmp/configbak
cp -p /conf/* /tmp/configbak 2>/dev/null
# mount /cf
+ /etc/rc.conf_mount_rw
/sbin/mount -w -o noatime /cf 2>/dev/null
- /etc/rc.conf_mount_rw
-
+ /sbin/mount -w -o noatime / 2>/dev/null
+
# tar explode image onto hd
echo "Installing $2." | logger -p daemon.info -i -t Upgrade
/usr/bin/tar xzPf $2 -U -C / | logger -p daemon.info -i -t Upgrade
OpenPOWER on IntegriCloud