From owner-freebsd-hackers Tue Mar 12 8: 8:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by hub.freebsd.org (Postfix) with ESMTP id 9ED7D37BAA1 for ; Tue, 12 Mar 2002 08:05:37 -0800 (PST) Received: from fwd09.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16koXf-0004h2-0G; Tue, 12 Mar 2002 16:50:23 +0100 Received: from pc5.abc (520067998749-0001@[217.233.110.216]) by fmrl09.sul.t-online.com with esmtp id 16koXI-28H4c4C; Tue, 12 Mar 2002 16:50:00 +0100 Received: (from nicolas@localhost) by pc5.abc (8.11.6/8.11.6) id g2CFnx652891 for freebsd-hackers@FreeBSD.ORG; Tue, 12 Mar 2002 16:49:59 +0100 (CET) (envelope-from list@rachinsky.de) Date: Tue, 12 Mar 2002 16:49:59 +0100 From: Nicolas Rachinsky To: freebsd-hackers@FreeBSD.ORG Subject: Re: Running different startup scripts on behalf of loaded kernel and kernel modules Message-ID: <20020312154959.GP48172@pc5.abc> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20020312162024.4d19feee.vladimirt@rila.bg> <20020312093027.M95579@ezo.net> <20020312163842.7be15f79.vladimirt@rila.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020312163842.7be15f79.vladimirt@rila.bg> User-Agent: Mutt/1.3.27i X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-Sender: 520067998749-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * On Tue, Mar 12, 2002 at 04:38:42PM +0200, * Vladimir Terziev wrote: > I think, I should refine my question ... > > How can I understand, when the startup scripts are going to be runned, which menu item is choosed ? Does the output of "sysctl kern.bootfile" and kldstat help you? If you call "kldstat -n nameofmodule" the exitvalue depends on wether the module is loaded or not. Nicolas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message