running scripts before x-server starts
Karl Auer
kauer at biplane.com.au
Tue Jul 31 01:04:26 UTC 2007
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?
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
More information about the ubuntu-users
mailing list