diff options
author | jim-p <jimp@pfsense.org> | 2011-01-18 15:28:25 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-01-18 15:38:02 -0500 |
commit | f9c8e64c6331f45caa8d9cdc1973f2d9742576a0 (patch) | |
tree | 6c2ec37d89922256a61f3d98f589deff564c22be /etc/inc/pkg-utils.inc | |
parent | 3644e29ce6bef3bc405d3cee6f9dded48abbf33c (diff) | |
download | pfsense-f9c8e64c6331f45caa8d9cdc1973f2d9742576a0.zip pfsense-f9c8e64c6331f45caa8d9cdc1973f2d9742576a0.tar.gz |
Add a description to this write_config() so it's a little more obvious what it's doing in the logs.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 2563e44..dd9dd7f 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -550,7 +550,7 @@ function install_package($package, $pkg_info = "") { if(file_exists('/conf/needs_package_sync')) @unlink('/conf/needs_package_sync'); conf_mount_ro(); - write_config(); + write_config("Intermediate config write during package install for {$pkg_info['name']}."); $static_output .= $to_output; update_output_window($static_output); /* install other package components */ @@ -951,7 +951,7 @@ function delete_package_xml($pkg) { * XXX: Otherwise inclusion of config.inc again invalidates actions taken. * Same is done during installation. */ - write_config(); + write_config("Intermediate config write during package removal for {$pkg}."); /* * If a require exists, include it. this will |