Hello,
I was wondering whether there is some way to find out the current
running softlevel (which I gave to the kernel line in grub's
menu.lst), for example to start another window manager depending on
the softlevel or whatever other possible solutions? Maybe in a
variable like $SOFTLEVEL ?
li...@gabriel-striewe.de writes:
I was wondering whether there is some way to find out the current
running softlevel (which I gave to the kernel line in grub's
menu.lst), for example to start another window manager depending on
the softlevel or whatever other possible solutions? Maybe in a
On Tue, 10 Aug 2010 16:42:02 +0200, li...@gabriel-striewe.de wrote:
I was wondering whether there is some way to find out the current
running softlevel (which I gave to the kernel line in grub's
menu.lst), for example to start another window manager depending on
the softlevel or whatever
At least you can get the complete kernel line from /proc/cmdline.
Strangely, my /proc/cmdline is empty; could I have forgotten some
kernel module or option?
If you like, put something like this into your .bashrc:
# get boot parameters:
SOFTLEVEL=$( /proc/cmdline )
# strip from left all
The baselayout-2 method is rc-status --runlevel
--
Neil Bothwick
And on the seventh day God said :wq and then make
signature.asc
Description: PGP signature
5 matches
Mail list logo