diff options
author | Scott Ullrich <sullrich@G5.local> | 2009-10-26 19:52:50 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@G5.local> | 2009-10-26 19:52:50 -0400 |
commit | aaf8b02814e64037613592891c6e34f8056770d3 (patch) | |
tree | 783c46b403e06b2d76b04ed4695828db547204eb /config/squid/squid.inc | |
parent | deccbb7c25247b5fef535f07b333fe045fcccfa1 (diff) | |
download | pfsense-packages-aaf8b02814e64037613592891c6e34f8056770d3.tar.gz pfsense-packages-aaf8b02814e64037613592891c6e34f8056770d3.tar.bz2 pfsense-packages-aaf8b02814e64037613592891c6e34f8056770d3.zip |
Minor text cleanup
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r-- | config/squid/squid.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 7a1ce702..6eaf1aec 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -250,17 +250,17 @@ EOD; } function squid_deinstall_command() { - global $config; - squid_install_cron(false); + global $config, $g; + $plswait_txt = "This operation may take quite some time, please be patient. Do not press stop or attempt to navigate away from this page during this process."; + squid_install_cron(false); $settings = &$config['installedpackages']['squidcache']['config'][0]; $cachedir =($settings['harddisk_cache_location'] ? $settings['harddisk_cache_location'] : '/var/squid/cache'); $logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log'); - update_status("Checking Squid cache... One moment please..."); - update_output_window("This operation may take quite some time, please be patient. Do not press stop or attempt to navigate away from this page during this process."); + update_status("Checking Squid cache... One moment please..."); + update_output_window("$plswait_txt"); mwexec('rm -rf $cachedir'); mwexec('rm -rf $logdir'); - update_status("Finishing package cleanup."); - update_output_window("This operation may take quite some time, please be patient. Do not press stop or attempt to navigate away from this page during this process."); + update_status("Finishing package cleanup."); mwexec('rm -f /usr/local/etc/rc.d/proxy_monitor.sh'); mwexec("ps awux | grep \"proxy_monitor\" | grep -v \"grep\" | grep -v \"php\" | awk '{ print $2 }' | xargs kill"); mwexec("ps awux | grep \"squid\" | grep -v \"grep\" | awk '{ print $2 }' | xargs kill"); |