Updated for ubuntu-14.04
Install /etc/default/npstatsd in debian (postinst) if it does not exist.
Updated for freebsd-10.1