diff options
Diffstat (limited to 'config/denyhosts')
-rw-r--r-- | config/denyhosts/denyhosts.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/denyhosts/denyhosts.inc b/config/denyhosts/denyhosts.inc index e1bcf877..e19365de 100644 --- a/config/denyhosts/denyhosts.inc +++ b/config/denyhosts/denyhosts.inc @@ -184,7 +184,10 @@ function deinstall_command() exec ("rm /etc/hosts.allow"); exec ("cp /etc/hosts.allow.bak /etc/hosts.allow"); } - + + //remove the configuration + exec ("rm /usr/local/etc/denyhosts*"); + //create a new hosts.allow file //$hosts_allow = "#\n"; //$hosts_allow .= "# hosts.allow access control file for \"tcp wrapped\" applications.\n"; |