[ale] custome init levels

Scott Warfield magius at wittsend.com
Wed Dec 1 10:40:17 EST 2004


And inittab must contain the references

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
# addition run level
l10:6:wait:/etc/rc.d/rc 10

But 0-6 are constants, so init would need to be rebuilt, yes.
 
Alternatively, maybe use 4 for a custom run level?


-------------------------------------------------------
Scott Warfield
Internet Security Systems
X-Force Developer
 
swarfield at iss.net
PGP Key: 0x1DE30C1D
-------------------------------------------------------

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Geoffrey
Sent: Wednesday, December 01, 2004 10:27 AM
To: cfowler at outpostsentinel.com; Atlanta Linux Enthusiasts
Subject: Re: [ale] custome init levels

Christopher Fowler wrote:
> Is it possible to add init levels past 6 in sysvinit on FC2?  I've 
> created the directories but when I do init 10 I get an error message 
> that I can only pick 0-6

I think you'd have to recompile init, per the man page:

        /sbin/init [ -a ] [ -s ] [ -b ] [ -z xxx ] [ 0123456Ss ]
        /sbin/telinit [ -t sec ] [ 0123456sSQqabcUu ]

--
Until later, Geoffrey
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale

 
 ** ACCEPT: CRM114 PASS Markovian Matcher ** CLASSIFY succeeds; success
probability: 1.0000  pR: 91.9703 Best match to file #0 (nonspam.css) prob:
1.0000  pR: 91.9703 Total features in input file: 6480 #0 (nonspam.css):
features: 3239807, hits: 17468624, prob: 1.00e+00, pR:  91.97
#1 (spam.css): features: 2871637, hits: 16257712, prob: 1.07e-92, pR: -91.97

 



More information about the Ale mailing list