summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-05-28 12:31:37 +0000
committerErmal <eri@pfsense.org>2014-05-28 12:31:37 +0000
commit1c847e5e14c75adb86ccd516bbfdc98ac53efca1 (patch)
tree07282ca5446910c0f24b56c3f6e04b07c11bd171
parent9cc22856d5283741be2ec1426a4fd9bf8ec3b423 (diff)
downloadpfsense-1c847e5e14c75adb86ccd516bbfdc98ac53efca1.zip
pfsense-1c847e5e14c75adb86ccd516bbfdc98ac53efca1.tar.gz
Make sure check_reload_status is stopped so it can be upgraded and no events disturb the upgrade.
-rwxr-xr-xetc/rc.firmware4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 4c4c7ae..3acb1c1 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -435,9 +435,11 @@ pfSenseupgrade)
rm /tmp/configbak/*_log.txt 2>/dev/null
# tar explode image onto hd
+ killall -9 check_reload_status
+ killall -9 check_reload_status
echo "Installing $IMG." >> /conf/upgrade_log.txt 2>&1
cd / && /usr/bin/tar xzUPf $IMG >> /conf/upgrade_log.txt 2>&1
- /usr/bin/find / -name CVS -exec rm -fr {} \;
+ /usr/local/sbin/check_reload_status
echo "Image installed $IMG." >> /conf/upgrade_log.txt 2>&1
# process custom image if its passed
OpenPOWER on IntegriCloud