summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware_auto
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firmware_auto')
-rwxr-xr-xetc/rc.firmware_auto8
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
OpenPOWER on IntegriCloud