summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-17 22:18:10 +0000
committerErmal <eri@pfsense.org>2011-05-17 22:18:10 +0000
commitf1dbcf474113c3c1b82fe263bb5f283e67598b3f (patch)
treea9643419bfc5b2fca6797f30ac2a8b5e99b64ca5
parentaed6fc725e2d9babd2b75d57ca527d3f5e663fd9 (diff)
downloadpfsense-f1dbcf474113c3c1b82fe263bb5f283e67598b3f.zip
pfsense-f1dbcf474113c3c1b82fe263bb5f283e67598b3f.tar.gz
Actually sync_package before starting it again. Also include restart in the log message since it might be like that.
-rwxr-xr-xetc/rc.start_packages3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages
index e5eaa47..0c1dfc7 100755
--- a/etc/rc.start_packages
+++ b/etc/rc.start_packages
@@ -40,10 +40,11 @@ require_once("pfsense-utils.inc");
if (!is_array($config['installedpackages']['package']))
return;
-log_error("Starting all packages.");
+log_error("Restarting/Starting all packages.");
foreach($config['installedpackages']['package'] as $package) {
stop_service($package['name']);
+ sync_package($package['name']);
start_service($package['name']);
}
OpenPOWER on IntegriCloud