diff options
Diffstat (limited to 'etc/phpshellsessions/enablesshd')
-rw-r--r-- | etc/phpshellsessions/enablesshd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/phpshellsessions/enablesshd b/etc/phpshellsessions/enablesshd new file mode 100644 index 0000000..c300595 --- /dev/null +++ b/etc/phpshellsessions/enablesshd @@ -0,0 +1,16 @@ +global $config; +echo "Starting enablesshd..."; +require("config.inc"); +echo "."; +require("filter.inc"); +echo "."; +require("shaper.inc"); +echo "."; +$config = parse_config(true); +echo "."; +$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 |