[FreeBSD] Disable sendmail and moused completely. - BSD

Users browsing this thread: 1 Guest(s)
yrmt
Grey Hair Nixers
You may have noticed that sendmail and moused get started automatically at first boot. I don't use sendmail or mouse in tty.

- Disable sendmail, add this in /etc/rc.conf:

``
sendmail_enable="NONE"
sendmail_msp_queue_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
``

- Disable moused, comment this in /etc/devd.conf:

``
attach 100 {
device-name "ums[0-9]+";
action "/etc/rc.d/moused quietstart $device-name";
};

detach 100 {
device-name "ums[0-9]+";
action "/etc/rc.d/moused stop $device-name";
};
``

This should stop a few megs ram and 3 processes.