diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-07 18:17:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-07 18:17:43 +0000 |
commit | 21fbee83a9f7571a79f0be908012b6c6fff92646 (patch) | |
tree | 02448cb28f70651e760c54bc949c3b7a204bc543 /etc/rc.firmware_auto | |
parent | 2a5b92152f71c5feb6810dfe7ba58eff594e15d4 (diff) | |
download | pfsense-21fbee83a9f7571a79f0be908012b6c6fff92646.zip pfsense-21fbee83a9f7571a79f0be908012b6c6fff92646.tar.gz |
* sync before forcing umount.
* sleep for 5 seconds
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-x | etc/rc.firmware_auto | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/rc.firmware_auto b/etc/rc.firmware_auto index ad04ce5..0f34fec 100755 --- a/etc/rc.firmware_auto +++ b/etc/rc.firmware_auto @@ -54,10 +54,14 @@ if [ "$PMD" = "$MD" ]; then else sh /etc/rc.firmware pfSenseupgrade /tmp/latest.tgz fi - if [ "$PLATFORM" = "wrap" ]; then + if [ "$PLATFORM" = "wrap" ]; then + /bin/sync + sleep 5 /usr/local/bin/php /etc/rc.conf_mount_ro fi - if [ "$PLATFORM" = "net45xx" ]; then + if [ "$PLATFORM" = "net45xx" ]; then + /bin/sync + sleep 5 /usr/local/bin/php /etc/rc.conf_mount_ro fi exit 0 |