summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-31 21:24:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-31 21:24:25 +0000
commit37c39d368a7bf3fd3140014bc2b0f4c936be458e (patch)
tree6da53d568752668965f13c4566e08f9569be136f /etc/rc.firmware
parentc43e09668480fa70a89a763b502e7f9e83027117 (diff)
downloadpfsense-37c39d368a7bf3fd3140014bc2b0f4c936be458e.zip
pfsense-37c39d368a7bf3fd3140014bc2b0f4c936be458e.tar.gz
unmount / after upgrade
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index c2a82a1..56b0ca3 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -176,9 +176,11 @@ pfSenseupgrade)
rm -f /var/run/firmware.lock
# remount /cf ro
+ /etc/rc.conf_mount_rw
/sbin/umount -f /cf 2>/dev/null
/sbin/mount -r /cf 2>/dev/null
- /etc/rc.conf_mount_rw
+ /sbin/umount -f / 2>/dev/null
+ /sbin/mount -r / 2>/dev/null
echo "Done." | logger -p daemon.info -i -t Upgrade
sh /etc/rc.reboot
OpenPOWER on IntegriCloud