Mailinglist Archive: opensuse (3784 mails)
| < Previous | Next > |
Re: [SLE] How to stop SuSEconfig...
- From: Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Oct 2001 03:21:38 +0200
- Message-id: <200110230121.f9N1Ld806393@xxxxxxxxxxxxxxxxxxxxx>
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
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
| < Previous | Next > |