Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: a twisted use of lilo
- To: Tokyo Linux Users Group <tlug@example.com>
- Subject: Re: a twisted use of lilo
- From: S N <selva@example.com>
- Date: Sun, 5 Aug 2001 15:03:44 -0600 (MDT)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- Delivered-To: tlug@example.com
- In-Reply-To: <3B6DA405.DC730414@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <selva@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <n5nIvC.A.uAB.pWbb7@example.com>
- Resent-Sender: tlug-request@example.com
Hi, (i) You can make LILO set an environment variable that can be tested by startup scripts: append="MYAPPLICATION=app1" or append="MYAPPLICATION=app2" (ii) You can set up /etc/inittab to start, say app1 at run level 4 and app2 at runlevel 5, and then have two lilo sections with append="4" and append ="5". for example put in /etc/lilo.conf image=/boot/vmlinuz-2.2.18 label=linux-app1 root=/dev/hda1 append="4" image=/boot/vmlinuz-2.2.18 label=linux-app2 root=/dev/hda1 append="5" Selva On Sun, 5 Aug 2001, Fredric Fredricson wrote: > > A question for the lilo-gurus out there: > If I make to (almost) identical entries in > lilo.conf that both starts the same kernel > would it be possible to tell which one was > chosen in a application program? > > The reason for the question is: > I work with a linux project that automatically > launch an application after boot. The idea > I had was to have two options in lilo where > one automatically launches the application > and the other does not (or launches another > application). > > /Fredric
- References:
- a twisted use of lilo
- From: Fredric Fredricson <fredric.fredriksson@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: a twisted use of lilo
- Next by Date: Re: a twisted use of lilo
- Prev by thread: Re: a twisted use of lilo
- Next by thread: Re: a twisted use of lilo
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links