1 |
Am Mittwoch, 21. Dezember 2005 15:30 schrieb ext Ryan Viljoen: |
2 |
|
3 |
> Anyway I noticed that when SuSe boots, after its gone through the boot |
4 |
> runlevel it switches to runlevel 5 and loads up kdm while completing |
5 |
> runlevel 3. Now this is great cause you can login and such assuming |
6 |
> you dont have any network dependent login services (NIS and NFS |
7 |
> shares). |
8 |
> |
9 |
> So I was wondering if this was possible with Gentoo. Its not as simple |
10 |
> as adding xdm to the boot runlevel. dont worry I tried... |
11 |
|
12 |
Gentoo extends init's runlevel concept with its own concept, called |
13 |
softlevels. You can create as many softlevels as you like/need. |
14 |
|
15 |
Just create an new directory for your runlevel in /etc/runlevels, populate |
16 |
it with the services you want to start in this runlevel (rc-update add |
17 |
myservice myrunlevel) and update your bootloader config so that you can |
18 |
select the desired runlevel at boot time, i.e. for grub you would add |
19 |
"softlevel=myrunlevel" to the "kernel" line. |
20 |
|
21 |
HTH... |
22 |
|
23 |
Dirk |
24 |
-- |
25 |
Dirk Heinrichs | Tel: +49 (0)162 234 3408 |
26 |
Configuration Manager | Fax: +49 (0)211 47068 111 |
27 |
Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com |
28 |
Hambornerstraße 55 | Web: http://www.capgemini.com |
29 |
D-40472 Düsseldorf | ICQ#: 110037733 |
30 |
GPG Public Key C2E467BB | Keyserver: www.keyserver.net |