Re: running scripts before x-server starts
- From: Glenn Holmer <gholmer@xxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 04:04:14 -0500
On Monday 30 July 2007 21:12, Lev Lafayette wrote:
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.
Sure it is, SUSE does it in their profile switcher. Their GRUB screen
has function-key options to chose one of the profiles you have set up
with SCPM; it puts PROFILE=profilename on the kernel command line and
it's read in a boot script (/etc/init.d/boot.scpm).
http://www.novell.com/documentation/opensuse102/index.html?page=/documentation/opensuse102/opensuse102_reference/data/cha_scpm.html
And yes, it can be used to select X configurations at boot time. I'm
sure something like it could be hacked up for Ubuntu as well...
--
"Mozilla, unlike emacs, is not an operating system."
Glenn Holmer (Q-Link: ShadowM) http://www.lyonlabs.org
--
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: Naja Melan
- 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: Karl Auer
- Re: running scripts before x-server starts
- From: Lev Lafayette
- running scripts before x-server starts
- Prev by Date: Re: vobcopy
- Next by Date: Re: Added Programs Not Showing on Menu
- Previous by thread: Re: running scripts before x-server starts
- Next by thread: Re: running scripts before x-server starts
- Index(es):
Relevant Pages
|