summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/enablesshd
blob: 0dc76de5792312bf3c46b52552646697467c9769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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";
OpenPOWER on IntegriCloud