From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ozlabs.org (Postfix) with ESMTP id A1BA5DDE2A for ; Tue, 28 Oct 2008 23:54:06 +1100 (EST) Received: by ug-out-1314.google.com with SMTP id 17so246645ugm.14 for ; Tue, 28 Oct 2008 05:54:03 -0700 (PDT) Message-ID: Date: Tue, 28 Oct 2008 13:54:03 +0100 From: "florent manni" Subject: Re: linux automatic logging and automatic script execution Cc: linuxppc-embedded@ozlabs.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_87602_11739467.1225198443703" References: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_87602_11739467.1225198443703 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/10/28 florent manni > thanks a lots for the answer indeed that was inittab (my mistake for initrd > twice). > > Now (thaks to you) I know exactly where to set up things (as busybox > doesn't support runlevel by default I'll try to write something in inittab). > > thanks a lot > > florent > > > > 2008/10/28 Chris Skepper > > On Tue, 28 Oct 2008, florent manni wrote: >> >> I try to make my embedded linux auto-logging and auto-executing a program >>> after kernel loads thus I haven't got to use the terminal to logging and >>> start my embedded program. >>> >>> does anyone has got a clue where I should look to set this option (I >>> think >>> it might be around /etc/initrd but I'm not sure). >>> >> >> Hi Florent, >> >> You might be thinking of the file /etc/inittab or /etc/init.d/. These >> file(s) control what process are started by /sbin/init in different >> run-levels. Look at "man init" on a Linux system for more info, or read the >> documentation for the version of init on the system. That should enable you >> to start whatever you want on bootup. >> >> If init is too heavyweight you can start any other application with the >> the init= kernel parameter, but that's probably not recommended unless you >> know what you are doing. >> >> Chris. >> > > ------=_Part_87602_11739467.1225198443703 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2008/10/28 florent manni <mannivelle@gmail.com>
thanks a lots for the answer indeed that was inittab (my mistake for initrd twice).

Now (thaks to you) I know exactly where to set up things (as busybox doesn't support runlevel by default I'll try to write something in inittab).

thanks a lot

florent



2008/10/28 Chris Skepper <skepper@ukf.net>

On Tue, 28 Oct 2008, florent manni wrote:

I try to make my embedded linux auto-logging and auto-executing a program
after kernel loads thus I haven't got to use the terminal to logging and
start my embedded program.

does anyone has got a clue where I should look to set this option (I think
it might be around /etc/initrd but I'm not sure).

Hi Florent,

You might be thinking of the file /etc/inittab or /etc/init.d/.  These file(s) control what process are started by /sbin/init in different run-levels.  Look at "man init" on a Linux system for more info, or read the documentation for the version of init on the system.  That should enable you to start whatever you want on bootup.

If init is too heavyweight you can start any other application with the the init= kernel parameter, but that's probably not recommended unless you know what you are doing.

Chris.


------=_Part_87602_11739467.1225198443703--