summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/enablesshd
blob: 6e601ddc31ba58293ae1bc1e7e9024f2dced2802 (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...";
exec("/etc/sshd");
echo "\n\n";
OpenPOWER on IntegriCloud