diff options
author | Ermal <eri@pfsense.org> | 2011-05-17 22:18:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-05-17 22:18:10 +0000 |
commit | f1dbcf474113c3c1b82fe263bb5f283e67598b3f (patch) | |
tree | a9643419bfc5b2fca6797f30ac2a8b5e99b64ca5 | |
parent | aed6fc725e2d9babd2b75d57ca527d3f5e663fd9 (diff) | |
download | pfsense-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-x | etc/rc.start_packages | 3 |
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']); } |