mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Rework rc.stop_packages a little. Fixes #1564
This commit is contained in:
parent
e151744e90
commit
0124456b0c
@ -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) {
|
||||
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user