Hello everybody,
i'd like to suggest a new way of configuring your network in crux.
The reason I do that is, because there are virtually no net-configfiles
"per se" in crux by default (or out-of-the-box, so to speak).
If an average user wants to configure his networking, he actually is
configuring a (quite very important) init script of the system.
IMHO, I just dont like the thought of touching a initscript.
I think initscripts should be treated write-once (or fire-and-forget.).
Well, I broke it down a little bit on my system and now I want to hear the
opinions of the crux-users/devs. Where is the room for improvements?
First of, here's the new init scripts with a few self-explanatory config-files:
http://rapidshare.com/files/76614639/netinitscripts.tar.bz2.html
Everybody who can read bash/sh will understand them, since I tried to keep
them as simple as I could. Extract them somewhere with "tar xjpf ...".
(The "p" in the tar's options there is of special importance!)
You only need to put the new "net" script in your SERVICES@/etc/rc.conf, since all the
other (/new) scripts "net.dhcp", "net.lo" and "net.static" are started by the new "net" init script.
(However, you may aswell put SERVICES=(net.lo net.static net.dhcp foo bar...) instead...)
As I said, they are self-explanatory, so what you think?
Thanks & bye,
olaf_