From 1c847e5e14c75adb86ccd516bbfdc98ac53efca1 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 28 May 2014 12:31:37 +0000 Subject: Make sure check_reload_status is stopped so it can be upgraded and no events disturb the upgrade. --- etc/rc.firmware | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.1