I'm trying to get SuSEconfig to stop changing the single value of default run level in the inittab. What variable does rc.config utilize to control this?
On Monday 22 October 2001 19:31, Patrick Nelson wrote:
I'm trying to get SuSEconfig to stop changing the single value of default run level in the inittab. What variable does rc.config utilize to control this?
/etc/rc.config # # SuSEconfig can do some modifications to /etc/inittab. If you don't want # this, set CHECK_INITTAB to no. (yes/no) # CHECK_INITTAB="yes" change it to "no" Hope it helps, Alvaro Novo SuSE 7.1 Pro -=- Kernel 2.4.7-4GB -=- KDE 2.2.1 7:36pm up 5 days, 20:53, 3 users, load average: 0.04, 0.02, 0.00
If you want finer grained control, you can always modify /sbin/SuSEconfig to do what you want. For instance, create a variable in /etc/rc.config called something like RUNLEVEL and set it to what you want. Then change /sbin/SuSEconfig so: search for this line sed -e "s%^id:[0-9sSa-cA-C]*:initdefault:%id:$INITRL:initdefault:%" \ and change $INITRL to $RUNLEVEL so: sed -e "s%^id:[0-9sSa-cA-C]*:initdefault:%id:$RUNLEVEL:initdefault:%" \ Of course, this will be undone the moment you upgrade SuSEconfig, so it's perhaps not recommended as a long term solution, but if you want to maintain only the runlevel yourself, it will work. regards Anders On Tuesday 23 October 2001 02.31, Patrick Nelson wrote:
I'm trying to get SuSEconfig to stop changing the single value of default run level in the inittab. What variable does rc.config utilize to control this?
-- ICQ: 132715168 YM: cicerose
On Tue, Oct 23, 2001 at 03:21:38AM +0200, Anders Johansson wrote: Well, it also depends on the setting of DISPLAYMANAGER, set that to "console" if you want run-level 3, or to KDM..etc if you want run-level 5. -- Regards Cliff
Hi If You just want to stay in either level 3 or 5, You can select that from zast-system admin -> login configuration. If You select graphical boot, You are in runlevel 5 then, and with ascii SuSE will start in runlevel 3. If You need some other runlevel, You can follow the other peoples advice to set that up. Jaska. Viestissä Tiistai 23. Lokakuuta 2001 03:31, Patrick Nelson kirjoitti:
I'm trying to get SuSEconfig to stop changing the single value of default run level in the inittab. What variable does rc.config utilize to control this?
participants (6)
-
Anders Johansson
-
Christopher Mahmood
-
Cliff Sarginson
-
Jaakko Tamminen
-
Patrick Nelson
-
Álvaro A. Novo