How to make autostart of add-on services ?



  • Hi, everyone

    Right now , i'm on pfSense 2.0.3-RELEASE (amd64) .

    and almost everything work fine.

    So, I hv install vsftpd and samba.
    ( follow this instruction link http://doc.pfsense.org/index.php/Installing_FreeBSD_Packages )

    Everything seem ok.  I can start/status/stop ( vsftpd & samba ) services.
    But i need to make autostart service on start-up / boot.

    So, pfSense hv not "rc.conf" in /etc/

    I follow  google search guide of many link
    to create /etc/rc.conf.local.

    This is my "rc.conf.local"

    vsftpd_enable="YES"
    samba_enable="YES"
    nmbd_enable="YES"
    smbd_enable="YES"
    winbindd_enable="YES"

    Right now , i still can't autostart vsftpd&samba services on start-up.

    Please help/guide me. sir
    Thank you very much
    Pratchaya



  • mv /usr/local/etc/rc.d/samba_server /usr/local/etc/rc.d/samba_server.sh


  • Rebel Alliance Developer Netgate

    Obligatory warning:

    FTP and Samba have no place on a firewall

    Remove those immediately and setup an isolated server for those tasks if you need them on your network.


Locked