summarylogtreecommitdiffstats
path: root/smarttrafficmeter.install
diff options
context:
space:
mode:
Diffstat (limited to 'smarttrafficmeter.install')
-rw-r--r--smarttrafficmeter.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/smarttrafficmeter.install b/smarttrafficmeter.install
index ef38816b1932..a9ecabf2e20b 100644
--- a/smarttrafficmeter.install
+++ b/smarttrafficmeter.install
@@ -33,4 +33,16 @@ post_upgrade() {
pre_remove() {
systemctl stop smarttrafficmeter
systemctl disable smarttrafficmeter
+ rm -r /etc/smarttrafficmeter
+ rm -r /var/log/smarttrafficmeter
+ echo "#####################################################################"
+ echo "# #"
+ echo "# Smart Traffic Meter has been uninstalled. #"
+ echo "# #"
+ echo "# The default databse directory /usr/share/smarttrafficmeter #"
+ echo "# has not been removed so that you can make database backup. #"
+ echo "# If you do not need the backup, #"
+ echo "# please remove this directory manually. #"
+ echo "# #"
+ echo "#####################################################################"
}