<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv1185211666>
<DIV>Hi there,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Miquel Van Smoorenburg suggested I send this along to you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>He tells me that the boot method will be changing on the next release. I thought I might throw this at you anyways.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>Christopher</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>On Mon, 2010-03-29 at 22:49 -0700, Christopher Buckley wrote:<BR>&gt; Hi fellahs,<BR>&gt;&nbsp; <BR>&gt; ATTACHED: rc_new.zip<BR>&gt;&nbsp; <BR>&gt; I've been learning Linux and have spent a significant amount of time<BR>&gt; laying out configuration files and things. I've come up with a system<BR>&gt; of managing all of these config files for different machines and<BR>&gt; different setups and processes. As a result, I have some boot files I<BR>&gt; want to run and have been looking at the runlevels, start &amp; stop<BR>&gt; scripts in /etc/rc?, and /etc/init.d/rc<BR>&gt;&nbsp; <BR>&gt; I came across an article about setting up TightVNC on an isolated<BR>&gt; machine (no monitor, no mouse, no keyboard). I found out that I can<BR>&gt; actually start TightVNC without being logged on. This was ideal for a<BR>&gt; laptop I have that I want use as a portable server, and has a cracked<BR>&gt; and useless LCD.<BR>&gt;&nbsp; <BR>&gt; However, in order to
 do this, I needed to setup a symlink in /etc/rcS<BR>&gt; to a custom script that would start the VNC service. I didn't want to<BR>&gt; mess with the sequence of symlinks in /etc/rcS, so I created<BR>&gt; S100boot.vnc -&gt; /etc/init.d/boot.vnc. I did this because the last<BR>&gt; script was S99something.<BR>&gt;&nbsp; <BR>&gt; Much to my surprise,S100 gets run before S10. So I decided to take a<BR>&gt; look at /etc/init.d/rc and find out why.<BR>&gt;&nbsp; <BR>&gt; Well, long story short I came up with an idea and a "new" rc script<BR>&gt; that facilitates using sequence numbers higher than 99.<BR>&gt;&nbsp; <BR>&gt; I realize this probably isn't in compliance with existing boot<BR>&gt; policies for Linux systems, but on the other hand, it seems to me that<BR>&gt; since Debian alone now has 25,000 packages, there may well be more<BR>&gt; than 100 services that could be started by various packages. Providing<BR>&gt; a facility to ensure a proper boot
 sequence to the ever expanding<BR>&gt; number of packages and services might just be a good idea.<BR>&gt;&nbsp; <BR>&gt; I'd appreciate if you could take a good look at the revisions I've<BR>&gt; made to the work you've done. I've incorporated your interesting<BR>&gt; approach to concurrent execution. I've also tried to implement your<BR>&gt; efforts to streamline service starts and stops for similar runlevel<BR>&gt; services. I've also added additional debugging, and have implemented<BR>&gt; the script on my machines.<BR>&gt;&nbsp; <BR>&gt; Anyways, any comments you have on it would also be appreciated. I've<BR>&gt; done a lot of internal documentation that could be stripped out for<BR>&gt; distribution versions.<BR>&gt;&nbsp; <BR>&gt; Hope you like it.<BR>&gt;&nbsp; <BR>&gt; Cheers,<BR>&gt; Christopher Buckley<BR></DIV></DIV></td></tr></table><br>
      <hr size=1>Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! <a href="http://downloads.yahoo.com/ca/internetexplorer/"><b>Get it Now for Free! </b></a>