summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-20 03:02:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-20 03:02:20 +0000
commit8652a4109815d989f1ec64e9863bfd80bf020e80 (patch)
tree1d2ba5aa76f2eeee9da41841abb67f3d8511b978 /etc/rc.firmware
parenta9e8cb70714f6397ecfc1db642ffb27d8f05cdb4 (diff)
downloadpfsense-8652a4109815d989f1ec64e9863bfd80bf020e80.zip
pfsense-8652a4109815d989f1ec64e9863bfd80bf020e80.tar.gz
Remove /var/run/firmware.lock after upgrad
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 495d7e1..685a3e2 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -116,6 +116,8 @@ upgrade)
restore_chflags
+ rm -f /var/run/firmware.lock
+
# remount /cf ro
/sbin/umount -f /cf
/sbin/mount -r /cf
@@ -169,6 +171,8 @@ pfSenseupgrade)
ln -s /var/etc/hosts /etc/hosts
restore_chflags
+
+ rm -f /var/run/firmware.lock
# remount /cf ro
/sbin/umount -f /cf 2>/dev/null
OpenPOWER on IntegriCloud