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