Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What is the equivalent of FreeBSD's /etc/rc.conf in pfSense 2.1?

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 4.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z Offline
      zenny
      last edited by

      Hi:

      Where do I append the /etc/rc.conf parameters in pfSense 2.1 as there is no such file?

      The standard files stated in FreeBSD man page on rc.conf (http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5) are not there except /etc/default/rc.conf which FreeBSD restricts to make changes.

      Appreciate it where do I make changes in pfSense when I need to make changes in FreeBSD default installation. Thanks!

      1 Reply Last reply Reply Quote 0
      • E Offline
        eri--
        last edited by

        pfSense is using freebsd but not the freebsd rc system for configuration.
        Usually for extending pfSense you need to use packages or some other form.

        State what you are trying to do so some guidance can be given.

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zenny
          last edited by

          @ermal:

          pfSense is using freebsd but not the freebsd rc system for configuration.
          Usually for extending pfSense you need to use packages or some other form.

          State what you are trying to do so some guidance can be given.

          Trying to start ezjail and enable zfs to mount zpool at boot time. Plus some services like rpcbind, mountd and nfs_server. In vanilla FreeBSD, I used to append the following lines to /etc/rc.conf:

          ezjail_enable="YES"
          zfs_enable="YES"
          rpcbind_enable="YES"
          mountd_enable="YES"
          nfs_server_enable="YES"
          

          and in /usr/local/etc/ezjail.conf:

          ezjail_use_zfs="YES"
          ezjail_use_zfs_for_jails="YES"
          ezjail_jailzfs="zpool/jails"
          

          Thanks!

          1 Reply Last reply Reply Quote 0
          • Z Offline
            zenny
            last edited by

            BTW, I read at http://doc.pfsense.org/index.php/Samba that creating /etc/rc.conf.local seems to accomodate what /etc/rc.conf intends to do in vanilla FreeBSD (as quoted below). But not sure whether it works in pfSense 2.1?.

            Create file

            /etc/rc.conf.local

            samba_enable="YES"
            nmbd_enable="YES"
            smbd_enable="YES"
            winbindd_enable="YES"
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.