summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-15 21:15:46 +0000
committerErmal <eri@pfsense.org>2013-12-15 21:15:46 +0000
commit08b64f791426c4a9f980fd7b2f6d5359eff41c69 (patch)
tree9b232f0f56cfa2ef18cccb403b52a6162ae11d7c /etc/phpshellsessions
parent815f1f77ed88ce0eeb5b537fe6f7cc354eaa93de (diff)
downloadpfsense-08b64f791426c4a9f980fd7b2f6d5359eff41c69.zip
pfsense-08b64f791426c4a9f980fd7b2f6d5359eff41c69.tar.gz
Use events to start sshd rather than relying on forking
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/enablesshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/phpshellsessions/enablesshd b/etc/phpshellsessions/enablesshd
index 6e601dd..0dc76de 100644
--- a/etc/phpshellsessions/enablesshd
+++ b/etc/phpshellsessions/enablesshd
@@ -8,5 +8,5 @@ $config['system']['enablesshd'] = true;
echo ".";
write_config("pfSsh.php enabled sshd");
echo "\nEnabling SSHD, please wait...";
-exec("/etc/sshd");
-echo "\n\n"; \ No newline at end of file
+send_event("service reload sshd");
+echo "\n\n";
OpenPOWER on IntegriCloud