summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-31 20:55:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-31 20:55:27 +0000
commit26aa0611aca1483ab112d18fba7aa31e8f8f30f8 (patch)
treea9ede430445ec8464763a48a474d11636e6c97c2
parent1bbb52e6bc3126969929e18e3da57bb1cd690589 (diff)
downloadpfsense-26aa0611aca1483ab112d18fba7aa31e8f8f30f8.zip
pfsense-26aa0611aca1483ab112d18fba7aa31e8f8f30f8.tar.gz
Output more details during restart operations
-rw-r--r--etc/phpshellsessions/cvssync6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index 8d9552d..1aca41c 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -155,8 +155,10 @@ function post_cvssync_commands() {
echo "Configuring filter...";
exec("/etc/rc.filter_configure_sync");
exec("pfctl -f /tmp/rules.debug");
-
echo "\n";
- exec("sleep 5 ; killall php ; touch /tmp/restart_webgui &");
+ echo "Signaling PHP and Lighty restart...";
+ mwexec_bg("sleep 5 ; killall php ; touch /tmp/restart_webgui");
+
+ echo "\nCVSSync completed.\n";
}
OpenPOWER on IntegriCloud