diff options
author | Perry Mason <crazypark2@yahoo.dk> | 2010-07-01 10:06:07 +0200 |
---|---|---|
committer | Perry Mason <crazypark2@yahoo.dk> | 2010-07-01 10:06:07 +0200 |
commit | 264b0c520a171cd774368a52a7d83b8d089c6afa (patch) | |
tree | 7b7b69217651e9689c41bfcfe6cb15eb5285f527 /config | |
parent | 375d8d364b58c72397668a05ef29ec37b60a4229 (diff) | |
download | pfsense-packages-264b0c520a171cd774368a52a7d83b8d089c6afa.tar.gz pfsense-packages-264b0c520a171cd774368a52a7d83b8d089c6afa.tar.bz2 pfsense-packages-264b0c520a171cd774368a52a7d83b8d089c6afa.zip |
[vnstat2] deinstall more
Diffstat (limited to 'config')
-rw-r--r-- | config/vnstat2/vnstat2.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc index 26e9acfd..17dedd2d 100644 --- a/config/vnstat2/vnstat2.inc +++ b/config/vnstat2/vnstat2.inc @@ -5,6 +5,8 @@ function vnstat_install_deinstall() { // Remove Vnstat package and files exec("cd /var/db/pkg/ && pkg_delete `ls | grep vnstat`"); exec("rm -d -R /usr/local/www/vnstat2"); + exec("rm -d -R /usr/local/www/vnstati"); + exec("rm /usr/local/pkg/vnstat_php_frontend.xml"); // Remove vnstat cron entry from config.xml $task_key = '/usr/local/bin/vnstat -u'; $x_name=''; @@ -36,7 +38,7 @@ function change_vnstat_conf(){ ## # location of the database directory -# DatabaseDir "/usr/local/pkg/vnstat" +DatabaseDir "/usr/local/pkg/vnstat" # on which day should months change MonthRotate $monthrotate |