[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Linus Gasser <ineiti@gmx.net>] (fwd)



>From owner-rtl Thu Jun  7 02:53:36 2001
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20])
	by hq.fsmlabs.com (8.11.2/8.11.2) with SMTP id f578rZC24648
	for <rtl@fsmlabs.com>; Thu, 7 Jun 2001 02:53:35 -0600
Message-Id: <200106070853.f578rZC24648@hq.fsmlabs.com>
Received: (qmail 702 invoked by uid 0); 7 Jun 2001 08:47:54 -0000
Received: from lcmpc10.epfl.ch (HELO there) (128.178.8.77)
  by mail.gmx.net (mail10) with SMTP; 7 Jun 2001 08:47:54 -0000
Content-Type: text/plain;
  charset="CP 1252"
From: Linus Gasser <ineiti@gmx.net>
To: rtl@fsmlabs.com
Subject: Re: [rtl] autoexec.bat
Date: Thu, 7 Jun 2001 10:41:27 +0200
X-Mailer: KMail [version 1.2.2]
References: <5194C7501DC8D311A7DA00C0F015DD9111FCC3@EXCHANGE> <001101c0eeec$74af4530$3304080a@design>
In-Reply-To: <001101c0eeec$74af4530$3304080a@design>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

On Thursday 07 June 2001 02:54, you wrote:
> Hello,
> I think it is a easy thing for you,but I haven't any idea because I am a
> newbie.
>
> The linux system to start with login,then it can run the application
> program.my system must automatedly running after power up,it need not any
> manual operation.In DOS,I can write a autoexec.bat to implement it,but how
> can I do it in linux?
two ways:
- if you'r with KDE2.1, you can have you logged in automatically when 
starting up, so you can use .login to write your things in. 
- if you have RedHat, you can write your line at the end of 
/etc/rc.d/rc.local and it will be started at the end of all initialisation 
procedure. 
- Optionally you could add something to /etc/rc.d/rc.init/YourTask and then 
point /etc/rc.d/rc5.d/S99YourTask to this one (provided you have graphical 
login. for text login, this would be rc3.d...)
Go with one of the first two. The third one is the 'clean' solution and thus 
a bit harder ;-)

greets

ineiti