diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-30 21:24:34 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-30 21:24:34 -0400 |
commit | d4b8f9a8c87aaa80a53844d60bd2ae72d478bedc (patch) | |
tree | ab45835c3b3a20b7488167689db2da97099c61b5 /etc/rc.firmware | |
parent | 53be9d3c2d4fa91aa6620f3ed839d05fd092aa7c (diff) | |
download | pfsense-d4b8f9a8c87aaa80a53844d60bd2ae72d478bedc.zip pfsense-d4b8f9a8c87aaa80a53844d60bd2ae72d478bedc.tar.gz |
Sleep for 10 seconds before rebooting and allow disks to catch up
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index f9e817d..61b25a0 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -290,6 +290,8 @@ pfSenseNanoBSDupgrade) echo "/sbin/sysctl kern.geom.debugflags=0" >> /cf/upgrade_log.txt /sbin/sysctl kern.geom.debugflags=0 >> /cf/upgrade_log.txt 2>&1 + sleep 10 + rm -f /var/run/firmwarelock.dirty sh /etc/rc.reboot @@ -391,6 +393,9 @@ pfSenseupgrade) rm -f /var/run/firmwarelock.dirty /bin/sync + # Sleep and allow disks to catch up + sleep 10 + # If the archive has unpacked a file called # /tmp/no_upgrade_reboot_required then do # not reboot after upgrade. |