summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/removepkgconfig
blob: ea365bfb96b350032403e4dc267921be4835c9d9 (plain)
1
2
3
4
5
6
7
8
global $config;
$config = parse_config(true);
unset($config['installedpackages']);
echo "Clearing package configuration information...\n";
write_config("pfSsh.php cleared package configuration data.");
$config = parse_config(true);
echo "Removing startup files from /usr/local/etc/rc.d/...\n";
exec("rm /usr/local/etc/rc.d/*");
OpenPOWER on IntegriCloud