summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 2d4fd12..d918e17 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1215,7 +1215,8 @@ function system_reboot_cleanup() {
captiveportal_radius_stop_all();
require_once("voucher.inc");
voucher_save_db_to_config();
- mwexec("/etc/rc.stop_packages");
+ require_once("pkg-utils.inc");
+ stop_packages();
}
function system_do_shell_commands($early = 0) {
OpenPOWER on IntegriCloud