Re: running scripts before x-server starts
- From: Lev Lafayette <lev@xxxxxxxxxx>
- Date: Tue, 31 Jul 2007 12:12:54 +1000
On Tue, 2007-07-31 at 11:04 +1000, Karl Auer wrote:
On Tue, 2007-07-31 at 10:45 +1000, Lev Lafayette wrote:
im looking for a way to run a script, depending on which option
in grub i choose to run a script before xserver starts.
So modifiy the /etc/rcX.d you want (the 'X' represent runlevels). In
each directory there is files like SXXservice and KXXservice. The S
files represent startup files and the K files represent the kill
files.
The orginal poster wants to do stuff in those scripts depending on what
GRUB options were selected.
Finding the right script to do it in is only half the solution: How is
information passed out of GRUB about what options were selected?
Hmmm... Normally that isn't possible, because GRUB merely determines
what image to boot and the rc's are independent of that.
Under these circumstances I'd recommend Xen or some other virtualisation
software, that way the user can have a separate set of images *and* a
separate set of rc's..
HTH,
--
Lev Lafayette
Internet Vision Technologies
Level 1, 520 Dorset Road Croydon, VIC 3136
Ph: +61 3 9723 9399
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: running scripts before x-server starts
- From: Glenn Holmer
- Re: running scripts before x-server starts
- References:
- running scripts before x-server starts
- From: Naja Melan
- Re: running scripts before x-server starts
- From: Matt Morgan
- Re: running scripts before x-server starts
- From: Matt Morgan
- Re: running scripts before x-server starts
- From: Lev Lafayette
- Re: running scripts before x-server starts
- From: Karl Auer
- running scripts before x-server starts
- Prev by Date: Re: Find files in a date range?
- Next by Date: Re: Fwd: Re: 3rd ide master prob
- Previous by thread: Re: running scripts before x-server starts
- Next by thread: Re: running scripts before x-server starts
- Index(es):
Relevant Pages
|