fixes #12305
I had created this tag file to ship the folder but vnstat doesn't like empty files.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
/bin/kill -HUP `cat /var/run/suricata.pid 2> /dev/null` 2> /dev/null
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null
+ # remove wrong vnstat tag file
+ rm -f /var/log/vnstat/tag
+
# Run converters
# Outgoing Firewall
#usr/share/man/man1/vnstati.1
#usr/share/man/man1/vnstat.1
#var/lib/vnstat
-#var/log/vnstat
-var/log/vnstat/tag
+var/log/vnstat
# update linker config
ldconfig
+# remove wrong vnstat tag file
+rm -f /var/log/vnstat/tag
+
# restart init after glibc replace
telinit u
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
sed -i 's|/var/run/vnstat/vnstat.pid|/var/run/vnstat.pid|g' /etc/vnstat.conf
mkdir -p /var/log/vnstat
- touch /var/log/vnstat/tag
@rm -rf $(DIR_APP)
@$(POSTBUILD)