root/etc/phpshellsessions/removepkgconfig @ abfd0c9b
1 | e5f68046 | Scott Ullrich | global $config; |
---|---|---|---|
2 | $config = parse_config(true); |
||
3 | unset($config['installedpackages']); |
||
4 | echo "Clearing package configuration information...\n"; |
||
5 | write_config("pfSsh.php cleared package configuration data."); |
||
6 | $config = parse_config(true); |
||
7 | echo "Removing startup files from /usr/local/etc/rc.d/...\n"; |
||
8 | exec("rm /usr/local/etc/rc.d/*"); |