diff options
author | Ermal <eri@pfsense.org> | 2013-12-15 21:15:46 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-12-15 21:15:46 +0000 |
commit | 08b64f791426c4a9f980fd7b2f6d5359eff41c69 (patch) | |
tree | 9b232f0f56cfa2ef18cccb403b52a6162ae11d7c /etc/phpshellsessions | |
parent | 815f1f77ed88ce0eeb5b537fe6f7cc354eaa93de (diff) | |
download | pfsense-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/enablesshd | 4 |
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"; |