JamesSturdevant wrote the following at 15:47 21.06.2003:
At 12:32 AM 6/21/03 +0200, Erich Titl wrote: >>Any comments on why you wouldn't suggest rewritting linuxrc? > >For 2 reasons > >1) the existing linuxrc works for the actual LEAF releases and appears to >be reliable >2) laziness, I do not believe it is necessary :-) > >At least not for what I want to do, you are aiming a lot higher. My goal >would be to provide a non NIC dependent solution for loading a small >storage device (floppy) and still have the flexibility to load any number >of packages (memory limitations forbid). Actually a very simple goal. I >believe your approach would cover all my needs but as said, you are aiming >a lot higher. I would like to implement it as a snap in to the existing >Bering distribution and IMHO this forbids any tampering with linuxrc. > >Nevertheless your aproach is very interesting, keep me posted please.
Having messed around with linuxrc a long time ago, I think this could be done as an add-in module that is executed after the network is up.
1) linuxrc unpacks all modules on the boot medium and runs init. 2) In due time the packages' init.d script is run. 3) It makes a list of all init scripts in /etc/init.d. 4) It downloads and extracts the additional packages listed in its config file. 5) Then it makes a new list of the scripts in /etc/init.d and executes any that were not there previously.
The scripts would not be linked into the run level directories. linuxrc creates those based off of the variable RCDLINK so init would not execute any added scripts.
This is more or less what I want to do, but linuxrc plays no role here, I believe the new links in the init directories are done by update-rc.d and this should be very easy to use. Now if we switch to another run-level init takes over responsibility to execute everything needed by the run-level switch, done.
cheers Erich
THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel