2014-10-27 18:46:50 +01:00

13 lines
298 B
Plaintext

global $config;
echo "Starting enablesshd...";
require("config.inc");
echo ".";
$config = parse_config(true);
echo ".";
$config['system']['enablesshd'] = true;
echo ".";
write_config("pfSsh.php enabled sshd");
echo "\nEnabling SSHD, please wait...";
send_event("service reload sshd");
echo "\n\n";