M. Takeyamaです。
#横道モード
On Wed, 18 May 2005 11:13:58 +0200
Takashi Iwai
9.2 では /etc/init.d/rc.local というファイルから実行できます。 SUSE 9.2のユーザではないので確認していません。
9.3 だとこのファイルが分割されて /etc/init.d/before.local と /etc/init.d/after.local というファイルになっています。 前者は /etc/init.d/rc.?/* の init script 実行前に呼び出され、後者は init script 後に呼び出されます。 これって、ユーザ定義ファイル(必要に応じて)で、システムにデフォルトで 存在してしているものではないですよね。 9.3 で変わったこと知りませんでした。 ## rpm -qf /etc/init.d/rc # aaa_base-9.3-9.2
-----(/etc/init.d/rc より(ちなみに))----- # # Start the user defined resource control script which # should be executed _before_ runlevel is entered. # if test -f /etc/init.d/before.local ; then echo -n "Master Resource Control: " echo "Running /etc/init.d/before.local" /bin/sh /etc/init.d/before.local rc_status -v1 -r splashtrigger "before.local" fi ・ ・ ・ (通常の起動(停止)のシーケンスあり。) ・ ・ ・ # # Start the user defined resource control script which # should be executed _after_ runlevel is reached. # if test -f /etc/init.d/after.local ; then echo -n "Master Resource Control: " echo "Running /etc/init.d/after.local" /bin/sh /etc/init.d/after.local rc_status -v1 -r splashtrigger "after.local" fi splashtrigger "rlreached $RUNLEVEL" -------------------------------------------- --- M. Takeyama __________________________________ Do You Yahoo!? Upgrade Your Life http://bb.yahoo.co.jp/