How can I change vnstat output dir "/var/lib/vnstat" to something else?
I already tried to modify the
"LIB_D=/var/lib/vnstat"
dir in the
"/etc/init.d/vnstat"
file but it didn't helped.
The problem is why I want to change the folder is that when I reboot the router the "/var/lib/vnstat" disappears, because "/var" is a directory to /tmp/.
And that's a problem , because I will loose alll my traffic statistics when a reboot comes...
I use OpenWrt Kamikaze 8.09
Thank you