From 18b5a4c7646f076e074607465a7a46eb623818b7 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Fri, 22 Apr 2005 03:18:11 +0000 Subject: Check for the actual updater script only (instead of the PHP page itself, which is a bit self-defeating). --- usr/local/www/system_firmware_auto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www') diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php index 3032be1..5d59c46 100755 --- a/usr/local/www/system_firmware_auto.php +++ b/usr/local/www/system_firmware_auto.php @@ -223,7 +223,7 @@ if($use_old_checkversion == false) { $firmwareurl=$g['firmwarebaseurl']; $firmwarename=$g['firmwarefilename']; } - exec("ps -ax | grep firmware_auto | grep -v grep", $upgrade_lock); + exec("ps -ax | grep rc.firmware_auto | grep -v grep", $upgrade_lock); if($upgrade_lock[0] != "") { $update_status = "An upgrade is already in progress."; update_output_window($update_status); -- cgit v1.1