diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-31 20:55:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-31 20:55:27 +0000 |
commit | 26aa0611aca1483ab112d18fba7aa31e8f8f30f8 (patch) | |
tree | a9ede430445ec8464763a48a474d11636e6c97c2 /etc | |
parent | 1bbb52e6bc3126969929e18e3da57bb1cd690589 (diff) | |
download | pfsense-26aa0611aca1483ab112d18fba7aa31e8f8f30f8.zip pfsense-26aa0611aca1483ab112d18fba7aa31e8f8f30f8.tar.gz |
Output more details during restart operations
Diffstat (limited to 'etc')
-rw-r--r-- | etc/phpshellsessions/cvssync | 6 |
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"; } |