summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.firmware3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index ab17260..dfa8ce6 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -227,8 +227,6 @@ pfSenseupgrade)
sh /tmp/post_upgrade_command
fi
- rm -f /var/run/firmware.lock
-
# remount /cf ro
rm -rf /etc/rc.conf
rm -rf /etc/motd
@@ -241,6 +239,7 @@ pfSenseupgrade)
/sbin/mount -r / 2>/dev/null
sleep 3
+ rm -f /var/run/firmware.lock
/bin/sync
sleep 2
echo "Done." | logger -p daemon.info -i -t Upgrade
OpenPOWER on IntegriCloud