summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.start_packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages
index 80e7aaf..15f62e1 100755
--- a/etc/rc.start_packages
+++ b/etc/rc.start_packages
@@ -41,7 +41,7 @@ require_once("service-utils.inc");
log_error("Restarting/Starting all packages.");
setup_library_paths();
-$rcfiles = glob("{$rcfileprefix}*.sh");
+$rcfiles = glob(RCFILEPREFIX . "*.sh");
if (!$rcfiles)
$rcfiles = array();
else {
@@ -55,7 +55,7 @@ if (is_array($config['installedpackages']['package'])) {
echo " Starting package {$package['name']}...";
sync_package($package['name']);
start_service($package['name']);
- unset($rcfiles["{$rcfileprefix}{$package['name']}.sh"]);
+ unset($rcfiles[RCFILEPREFIX . $package['name'] . ".sh"]);
echo "done.\n";
}
}
OpenPOWER on IntegriCloud