Freebsd and autostarting

Recently I tested out Freebsd. Here are some notes I made about autostarting applications.

The file you want to tweak when autostarting on Freebsd is /etc/rc.conf . You need to edit the file as a root or a sudo.

Here is a simple example with explanations

#Enable mouse in terminal
moused_enable=”YES”

#Dbus:needed by keyboard and devices
dbus_enable=”YES”

#Hal-daemon:needed by keyboard and devices
hald_enable=”YES”

#Firewall settings
firewall_quiet=”NO”
firewall_enable=”YES”
firewall_type=”client”

#Enable slim display manager
slim_enable=”YES”

The above rc.conf should get you going. Remember that the system comes with an integrated firewall by default so you do not need to install anything extra to enable it.

Good luck with Freebsd. I will be doing a few more posts on the topic in the future, so stay tuned.