summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-07 18:17:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-07 18:17:43 +0000
commit21fbee83a9f7571a79f0be908012b6c6fff92646 (patch)
tree02448cb28f70651e760c54bc949c3b7a204bc543 /etc/rc.firmware
parent2a5b92152f71c5feb6810dfe7ba58eff594e15d4 (diff)
downloadpfsense-21fbee83a9f7571a79f0be908012b6c6fff92646.zip
pfsense-21fbee83a9f7571a79f0be908012b6c6fff92646.tar.gz
* sync before forcing umount.
* sleep for 5 seconds
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 9331723..9249519 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -118,6 +118,9 @@ upgrade)
rm -f /var/run/firmware.lock
+ /bin/sync
+ sleep 5
+
# remount /cf ro
/sbin/umount -f /cf
/sbin/mount -r /cf
@@ -175,6 +178,9 @@ pfSenseupgrade)
rm -f /var/run/firmware.lock
+ /bin/sync
+ sleep 5
+
# remount /cf ro
/bin/sync
/etc/rc.conf_mount_rw
OpenPOWER on IntegriCloud