Gentoo Archives: gentoo-user

From: "Linlin Yan (颜林林)" <yanlinlin82@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Dynamic service runlevel
Date: Wed, 13 Nov 2013 05:22:55
Message-Id: CA+YjnUttyYDqUJ9MKpwZ9syeRjj3CNYk1EMNKX44kKUuTExRvg@mail.gmail.com
In Reply to: Re: [gentoo-user] Dynamic service runlevel by Dan Johansson
1 Hi Dan,
2
3 Thank you very much! That is very helpful.
4
5 What if I want to change the behaviour of "sysinit" runlevel? Where
6 can I change it to another new runlevel for specific kernel version?
7
8 BTW, the services I want to disable is udev{,-mount} for kernel-2.16.31.
9
10 Linlin
11
12 On Sun, Nov 10, 2013 at 6:00 PM, Dan Johansson <Dan.Johansson@×××.nu> wrote:
13 > On 10.11.2013 09:20, Linlin Yan (颜林林) wrote:
14 >> Is it possible to set dynamic service run-level (rc-update) according to
15 >> different kernel version.
16 >>
17 >> There are different kernel versions in my grub menu, and I need to switch
18 >> between these versions for development purpose. I currently want to disable
19 >> some services under specific kernel version., but I cannot find where to
20 >> customize this. Any suggestion?
21 >
22 > What I have done is to have two different runlevels (default and kde in
23 > my case) with different services added to each one (the kde runlevel
24 > starts X, kde, and som other stuff that I do not have in the default
25 > level). Then I have added "softlevel=kde" to the parameters for the kernel.
26 >
27 > --
28 > Dan Johansson, <http://www.dmj.nu>
29 > ***************************************************
30 > This message is printed on 100% recycled electrons!
31 > ***************************************************

Replies

Subject Author
Re: [gentoo-user] Dynamic service runlevel Dan Johansson <Dan.Johansson@×××.nu>