Rework rc.stop_packages a little. Fixes #1564

This commit is contained in:
jim-p 2011-07-28 15:43:52 -04:00
parent e151744e90
commit 0124456b0c
2 changed files with 5 additions and 2 deletions

View File

@ -1340,7 +1340,7 @@ function system_reboot_cleanup() {
captiveportal_radius_stop_all();
require_once("voucher.inc");
voucher_save_db_to_config();
// mwexec("/etc/rc.stop_packages");
mwexec("/etc/rc.stop_packages");
}
function system_do_shell_commands($early = 0) {

View File

@ -1,4 +1,6 @@
#!/usr/local/bin/php -f
#!/bin/sh
/usr/local/bin/php -q <<ENDPHP
<?php
/* $Id$ */
/*
@ -69,3 +71,4 @@ if ($shell) {
pclose($shell);
}
?>
ENDPHP