grub2 a runlevel
Daniel Dawid Majewski
light-i at o2.pl
Tue Dec 29 12:22:20 CET 2009
W odpowiedzi na wiadomość z dnia 12.29.2009 r. 11:46, od Patryka Zawadzkiego:
> Nie no, mi chodziło o to, że tam trzeba to dopisać :)
>
> Zrobiłbym to dawno, ale ja tam gdzie są iksy mam domyślny 5, a
> parametr "noX" działa :)
Odpowiednia łatka w załączniku... ;)
--
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org
-------------- next part --------------
--- /etc/init/jobs.d/rc-default~ 2009-12-29 12:12:03.000000000 +0100
+++ /etc/init/jobs.d/rc-default 2009-12-29 12:12:03.000000000 +0100
@@ -11,8 +11,10 @@
if grep -q -w -- "-s\|single\|S" /proc/cmdline; then
telinit S
- elif grep -q -w -- "noX" /proc/cmdline; then
+ elif grep -q -w -- "noX\|3" /proc/cmdline; then
telinit 3
+ elif grep -q -w -- "yesX\|X\|5" /proc/cmdline; then
+ telinit 5
elif [ -r /etc/inittab ]; then
RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)"
if [ -n "$RL" ]; then
More information about the pld-devel-pl
mailing list