用户工具

站点工具


doc:r:rc.conf

rc.conf

这是我的笔记本 Thinkpad T42 上对 /etc/rc.conf 的设置。

####################################
## Purpose : system configuration ##
## File    : /etc/rc.conf         ##
## Date    : Sep-01-2006          ##
## Author  : IOU                  ##
####################################

check_quotas="NO"         ## Disable user and group disk quota checking
clear_tmp_enable="YES"    ## To have /tmp cleaned at startup
dmesg_enable="YES"        ## Save dmesg to /var/run/dmesg.boot on boot
update_motd="NO"          ## /etc/motd will not be updated
#ipv6_enable="YES"
webcamd_enable="YES"      ## Start webcamd automatically at system startup

############################################
### vidcontrol is run with these options ###
### for each of the virtual terminals.   ###
### Run "vidcontrol -i mode" in console, ###
### MODE_280 stands for 1024x768x24.     ###
### Add the following into the kernel:   ###
### option VESA                          ###
### option SC_PIXEL_MODE                 ###
############################################
allscreens_flags="MODE_280" 

#######################
### Several daemons ###
#######################
apm_enable="NO"         ## To let X11 display the battery status (asapm)
sshd_enable="NO"        ## No sshd started at system boot time
inetd_enable="NO"       ## This computer is not internet "super-server"
usbd_enable="YES"       ## Start USB daemon at system boot time
#musicpd_enable="YES"    ## Run MPD as daemon

##################################
### For enhanced Speedstep on  ### 
### Intel Pentium M processors ###
##################################
cpufreq_load="YES"      ## CPU frequency control framework
powerd_enable="YES"     ## System power control utility
## Default system power control utility.
powerd_flags="-a hadp -b adaptive -n hadp"
## If you prefer the high speed ...
#powerd_flags="-a maximum -b adaptive -n adaptive"
## If you hate the fan noise much more than low speed, choose the following.
#powerd_flags="-a adaptive -b adaptive -n adaptive"

#################
### Bluetooth ###
#################
#hcsecd_enable="YES"
#sdpd_enable="YES"

###################################
### Mouse, keyrate, cursor, etc ###
###################################
moused_enable="YES"
#moused_flags="-3" 
#moused_port="/dev/psm0" 
#moused_type="auto"
keyrate="fast" 
cursor="blink"

##########################################
### To handle device added, removed or ###
### unknown events from the kernel.    ###
##########################################
devd_enable="NO"

#########################
### FSCK enhancements ###
#########################
fsck_y_enable="YES"
background_fsck="NO"

################################################
### In order to completely disable sendmail, ###
### including the outgoing mail service.     ###
### 以下四句是不被推荐的
################################################
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

#############################
### starting dhcp at boot ###
#############################
ifconfig_em0="DHCP"
hostname="**********"
#ifconfig_em0="DHCP"
#ifconfig_ipw0="up"
#wlans_ipw0="wlan0"
#ifconfig_wlan0="DHCP"
#ifconfig_wlan0="ssid ******"

############################
### starting ppp at boot ###
############################
#ppp_enable="YES"
#ppp_mode="ddial"
#ppp_nat="NO"
#ppp_profile="iou"
#hostname="********"

######################
### End of rc.conf ###
######################
/data/vhosts/wiki-data/pages/doc/r/rc.conf.txt · 最后更改: 2012/03/19 14:24 由 iheaing