summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-18 15:29:06 -0500
committerjim-p <jimp@pfsense.org>2011-01-18 15:38:02 -0500
commitb1224cdc1e3fcf5af23c3bd365db4c72032642d9 (patch)
treedac1d83da9d5d1305b30bf9acb2e27bc5491de6a /etc/inc/pkg-utils.inc
parentf9c8e64c6331f45caa8d9cdc1973f2d9742576a0 (diff)
downloadpfsense-b1224cdc1e3fcf5af23c3bd365db4c72032642d9.zip
pfsense-b1224cdc1e3fcf5af23c3bd365db4c72032642d9.tar.gz
Fix references to what was apparently supposed to be $g['booting'] and not $bootup.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index dd9dd7f..b34054a 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -191,7 +191,7 @@ function get_pkg_sizes($pkgs = 'all') {
* This function may also print output to the terminal indicating progress.
*/
function resync_all_package_configs($show_message = false) {
- global $config, $pkg_interface, $bootup;
+ global $config, $pkg_interface, $g;
log_error("Resyncing configuration for all packages.");
@@ -209,7 +209,7 @@ function resync_all_package_configs($show_message = false) {
if($show_message == true)
echo " " . $package['name'];
get_pkg_depends($package['name'], "all");
- if($bootup != true)
+ if($g['booting'] != true)
stop_service($package['name']);
sync_package($idx, true, true);
if($pkg_interface == "console")
@@ -867,7 +867,7 @@ function delete_package($pkg) {
}
function delete_package_xml($pkg) {
- global $g, $config, $static_output, $pkg_interface, $bootup;
+ global $g, $config, $static_output, $pkg_interface;
conf_mount_rw();
@@ -937,7 +937,7 @@ function delete_package_xml($pkg) {
foreach($pkg_config['service'] as $service) {
foreach($services as $key => $instservice) {
if($instservice['name'] == $service['name']) {
- if($bootup != true)
+ if($g['booting'] != true)
stop_service($service['name']);
unset($services[$key]);
}
OpenPOWER on IntegriCloud