🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.sys.rs6000
Article #79

Re: AIX5Lにおける自動起動スクリプトについて

#79
From: 藤森 康文
Date: Sat, 01 Sep 2001 16:29
28 lines
2758 bytes
>> On Fri, 24 Aug 2001 21:13:01 +0900, "Moritaka Ogasawara" <oga@mxg.mesh.ne.jp> said:

> Linuxでは、自動起動スクリプトの実態を/etc/rc.d/init.d 下において、
> /etc/rc.d/rc<n>.d/ 下にリンクを張りますが、

皆がそうではないです。そのようになっているのはRedHat流儀でしょう。
FHSではそのあたりは決ってなかったはずですし。Debianなどでは/etc/init.d/
にスクリプト本体を置いて/etc/rc?.d/にシンボリック・リンクを張りますよ。
/etc/rcっていうディストリビューションもあるでしょうし。

> AIX5Lでは、自動起動スクリプトの実態を何処に置くのが本筋なのでしょうか?

AIXはわかりませんが、/etc/inittabを読んでいけばわかるんではないでしょ
うか。

http://www-6.ibm.com/jp/servers/aix/developer/tebiki/faq_toolbox.html
に次のような記述がありました。
:  ・kdmセッションマネージャの自動起動を設定
: (1)/etc/inittabにkdmのエントリを追加します。
: # mkitab
: kdm:2:once:/opt/freeware/kde/bin/kdm
: (2)システムを再起動し、kdmを自動起動させます。
: (参考)自動起動を解除するには下記コマンドを実行してください。
: # rmitab kdm

ID:2:wait:PROCESS のようなエントリがあるのではないでしょうか。(IDはエ
ントリ識別用、PROCESSは実行されるファイル名)で、PROCESSで指定されてい
るファイルがシェルスクリプトで書かれていればすぐにわかりますよね。
Technical Details
Message-ID: <ud8zfyx4at.wl@linux.kiss.taihaku.sendai.jp>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!nntp-egw.ocn.ad.jp!nn1.news.ocn.ad.jp!not-for-mail
References: <9m5gcf$lh$1@news.hitachi-sk.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f5470,fff73528f417fbc8
X-Google-Attributes: gidf5470,public
X-Google-ArrivalTime: 2001-09-01 09:30:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!newsfeed.mesh.ad.jp!nntp-egw.ocn.ad.jp!nn1.news.ocn.ad.jp!not-for-mail
From: 藤森 康文
 <fuji@kiss.taihaku.sendai.jp>
Newsgroups: fj.sys.rs6000
Subject: Re: AIX5Lにおける自動起動スクリプトについて
Date: Sun, 02 Sep 2001 01:29:46 +0900
Organization: Fujimori, Kobun
Lines: 29
Message-ID: <ud8zfyx4at.wl@linux.kiss.taihaku.sendai.jp>
References: <9m5gcf$lh$1@news.hitachi-sk.co.jp>
NNTP-Posting-Host: host5.kiss.taihaku.sendai.jp
Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-2022-JP
X-Trace: nn-tk103.ocn.ad.jp 999361788 1107 210.164.221.109 (1 Sep 2001 16:29:48 GMT)
X-Complaints-To: usenet@ocn.ad.jp
NNTP-Posting-Date: 1 Sep 2001 16:29:48 GMT
In-Reply-To: <9m5gcf$lh$1@news.hitachi-sk.co.jp>
User-Agent: Wanderlust/2.7.1 (Too Funky) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)