Darkstat as a traffic L2 counter

  • I was running pfsense 2.0.1 x64, it works fine, for example: captive + radius + ldap and darkstat from repo. I need to count a traffic via mac + username, I get the informantion via captive portal: mac records, so, I need to configure darkstat for import and export statistic through reboot. What about a file for edit to do it correctly? ( I need these flags –export mydb.db --import mydb.db -l, -f bla-bla, --no-dns, and so on). I was try to edit /usr/local/etc/rc.d/darkstat.sh - but it is didn't work. Any help please!

    Many thanks for you answer.