Script that does the general
configuration for
FreeBSD after startup. rc.conf usually holds initial
network-configuration and other things needed to make FreeBSD run properly after startup without human interference.
A typical rc.conf can look like this:
#!/bin/sh
#
hostname="icarus"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_rl0="inet 192.168.0.147"
syslogd_enable="YES"
syslogd_program="/usr/sbin/syslogd"
syslogd_flags="-s"
inetd_enable="YES"
inetd_program="/usr/sbin/inetd"
sshd_enable="YES"
sshd_program="/usr/sbin/sshd"
defaultrouter="192.168.0.1"
keyrate="fast"
cursor="blink"
moused_enable="YES"
moused_type="auto"
moused_port="/dev/psm0"
sendmail_enable="YES"
sendmail_flags="-L sm-mta -bd -q30m"
sendmail_submit_enable="YES"
sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
sendmail_outbound_enable="YES"
sendmail_outbound_flags="-L sm-queue -q30m"
sendmail_msp_queue_enable="YES"
sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m"
cron_enable="YES"
cron_program="/usr/sbin/cron"
linux_enable="YES"
dmesg_enable="YES"