diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-03 00:50:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-03 00:50:37 +0000 |
commit | 05d7b2ece8cc3b0f642e844101ca6007951c3e55 (patch) | |
tree | 60eabdc9d2ece0471c331b06861c7e900fc5cfdb | |
parent | a1d461d67760b684a3c9fdac0b0a54b490a79c9e (diff) | |
download | pfsense-05d7b2ece8cc3b0f642e844101ca6007951c3e55.zip pfsense-05d7b2ece8cc3b0f642e844101ca6007951c3e55.tar.gz |
Show which packages we are syncing
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 2b64fa6..e34acbe 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -526,6 +526,7 @@ function resync_all_package_configs_bootup($show_message) { log_error("Resyncing configuration for all packages."); if(!$config['installedpackages']['package']) return; foreach($config['installedpackages']['package'] as $package) { + if($show_message == true) print "Syncing " . $package['name'] . ".\n"; if(!file_exists("/usr/local/pkg/" . $package['configurationfile'])) { log_error("Fetching missing configuration XML for " . $package); system("/usr/bin/fetch -o /usr/local/pkg/" . $package['configurationfile'] . " http://www.pfsense.com/packages/config/" . $package['configurationfile']); @@ -536,7 +537,7 @@ function resync_all_package_configs_bootup($show_message) { if($pkg_config['custom_add_php_command_late'] <> "") eval($pkg_config['custom_add_php_command_late']); if($pkg_config['custom_php_install_command'] <> "") eval($pkg_config['custom_php_install_command']); if($pkg_config['custom_php_resync_config_command'] <> "") eval($pkg_config['custom_php_resync_config_command']); - if($show_message == true) print "Synced " . $package . ".\n"; + if($show_message == true) print "Synced " . $package['name'] . ".\n"; } } |