added support for legacy rc.d stuff (/etc/rc.conf and /etc/rc.d/functions links)