From 264b0c520a171cd774368a52a7d83b8d089c6afa Mon Sep 17 00:00:00 2001 From: Perry Mason Date: Thu, 1 Jul 2010 10:06:07 +0200 Subject: [vnstat2] deinstall more --- config/vnstat2/vnstat2.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3