diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 21:24:25 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-31 21:24:25 +0000 |
commit | 37c39d368a7bf3fd3140014bc2b0f4c936be458e (patch) | |
tree | 6da53d568752668965f13c4566e08f9569be136f /etc | |
parent | c43e09668480fa70a89a763b502e7f9e83027117 (diff) | |
download | pfsense-37c39d368a7bf3fd3140014bc2b0f4c936be458e.zip pfsense-37c39d368a7bf3fd3140014bc2b0f4c936be458e.tar.gz |
unmount / after upgrade
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.firmware | 4 |
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 |