Adding entries to rc.conf

You can do so any way you want. Both the below would work. Is there something specific you are trying to accomplish with this?
sysrc ftpd_enable=YES does some error checking for you.
echo 'ftpd_enable="YES"' >> [FILE]/etc/rc.conf[/FILE] works as well.
 
Back
Top