看板 FreeBSD 關於我們 聯絡資訊
※ 引述《usnei.bbs@bbs.sayya.org (學習讓自己感覺存在)》之銘言: : 且, etc/rc.conf 內執行身份不是root 嗎? 我一直不懂,rc.conf 幾時可以放 command 進去執行了? NAME rc.conf -- system configuration information DESCRIPTION The file rc.conf contains descriptive information about the local host name, configuration details for any potential network interfaces and which services should be started up at system initial boot time. In new installations, the rc.conf file is generally initialized by the system installation utility: /stand/sysinstall. The purpose of rc.conf is not to run commands or perform system startup actions directly. Instead, it is included by the various generic startup scripts in /etc which conditionalize their internal actions according to the settings found there. The /etc/rc.conf file is included from the file /etc/defaults/rc.conf, which specifies the default settings for all the available options. Options need only be specified in /etc/rc.conf when the system adminis- trator wishes to override these defaults. The file /etc/rc.conf.local is used to override settings in /etc/rc.conf for historical reasons. See the ``rc_conf_files'' option below. -- 嘴對嘴的接吻就如同起誓 允許對方接近自己的一切,可以把自己的一切托付給對方。 by 坂井 千草 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.116.64