removepkgconfig 328 Bytes
Newer Older
Ad Schellevis's avatar
Ad Schellevis committed
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/*");