Re: 請教一個笨問題關於/etc/rc.conf - BBS

Lydia avatar
By Lydia
at 2006-11-09T18:35

Table of Contents

※ 引述《[email protected] (學習讓自己感覺存在)》之銘言:
: 且, 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 坂井 千草

--
Tags: BBS

All Comments

.html 內的 php 碼無法執行 .php 的可以

Erin avatar
By Erin
at 2006-11-09T16:20
這個問題蠻基本的,還請大家見諒 我的apache 2.2 與 PHP 5.1.6 應該都安裝完成 不過在執行含php的程式碼時 副檔名需要是 .php 才能被正確執行 同樣的程式碼,如果副檔名是 .html 就無法正確執行內含的php 指令 應該要如何修改設定呢? 感激不盡 -- ------------ ...

Re: 請教spamassassin問題

Audriana avatar
By Audriana
at 2006-11-09T14:26
※ 引述《usnei.bbsatbbs.sayya.org (學習讓自己感覺存在)》之銘言: : ※ 引述《usnei (學習讓自己感覺存在)》之銘言: : andgt; 各位學長 : andgt; 若我想調低spamassassin的分數 3分即判斷成垃圾郵件丟到spam信箱 : andgt; 但是某些本機 ...

請問portupgrade -Ra 和 -ra 有何不同呢@@

Barb Cronin avatar
By Barb Cronin
at 2006-11-09T06:43
※ 引述《evi1ufox (evi1ufox)》之銘言: : 感覺上-R 就是向上...把上游所需要的程式通通更新 : -r 就是向下...把所有下游有相關的一併更新 是 : 如果是這樣的話portgrade -Ra -ra 應該還是有差 : portgrade -rRa 才是一網打盡 不 ...

請問portupgrade -Ra 和 -ra 有何不同呢@@

Enid avatar
By Enid
at 2006-11-09T02:21
我看懂了 自問自答一下 -r --recursive Act on all those packages depending on the given packages as well. ...

請問portupgrade -Ra 和 -ra 有何不同呢@@

Elvira avatar
By Elvira
at 2006-11-09T02:09
英文沒看懂 ? 我英文不好,不過從他的意思來看應該是 -r: 依照現有已經安裝的 pkgs 進行安裝(應該是只升級你要升級的程式) -R: 會把所有相關聯的程式全部都升級 個人覺得用了 -R 升級所有相關套件時要小心一點,因為有可能其他pkgs也會用到,說不定沒法用新版的...這時候就可能出問題D ※ ...