[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linrad] More stuff.....about runlevels etc.
What I meant with the svalib_helper is how can I have it so that the svgalib_helper.o module is loaded whenever Linrad calls for svgalib to start? Instead I have to have a script that loads it before Linrad. It doesn't really matter, I just wondered if there was na easier or better way? More in my quest for Linux knowledge than Linrad stuff.
[mailto:owner-linrad@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Matt KB0VUK
Sent: 11 January 2003 05:57
Subject: Re: [linrad] More stuff.....about runlevels etc.
On Saturday 11 January 2003 03:48, Conrad G0RUZ wrote:
> Mat so that means for run level 3 everything in /etc/rc3.d that is
> prefixed with s K is killed and will not run at start up. I hope not
> because I spent about 2 hrs prefixing them all with _, so K20rusrsd
> became _K20rusrsd etc etc. I wish you'd posted this earlier. I have
> created a kind of batch file that just does everything. I haven't
> figured out how to get svgalib_helper to load without running in a batch
> file (script?)
> cd /usr/local/src/svgalib-1.7.19/kernel/svgalib_helper
> insmod svaglib_helper.o
> I also do all my Delta 44 and PCI128 mixer settings in the same file and
> then finally it starts Linrad. It takes about 1 second to execute so its
> Is there a better (more correct) way?
> Conrad G0RUZ
Whenever you change runlevels, init looks in the rcX.d directory (where X
is the runlevel you're changing TO) to see what services to start/kill.
If you only added underscores to the links that started with K, those
won't be killed. Your computer will still function OK, but you haven't
stopped those unnecessary processes. ;-( In your case init looks in
/etc/rc3.d/ and kills K01some_service, K10other_service, K54third_service
etc. and then starts S01usb, S20random etc. up to S99local.
I don't understand your comment about svaglib_helper, if it runs OK in a
script, it should run from the command prompt. Maybe if you rephrase it
I'll catch on to what you're trying to do.
If what you're doing works, it works. The way I would do it isn't
necessarily better, I just like to automate things a bit.
73 Matt KB0VUK