Re: rc improvements (wanted?)

From: Bernd Walter <ticso_at_cicely7.cicely.de>
Date: Sat, 19 Jul 2008 17:35:31 +0200
On Sat, Jul 19, 2008 at 05:03:53PM +0200, Miroslav Lachman wrote:
> Bernd Walter wrote:
> 
> [...]
> 
> >Speaking about small systems, where startup time is more a problem than
> >on 08/15 desktop and server systems.
> >What I would love to see is that scripts like moused, ypserv, lpt, etc
> >are not started if the services are disabled.
> >So far each script is started, sucks in routines plus rc.conf then
> >possibly does nothing reasonable after wasting some seconds boottime.
> >Of course I can remove the scripts, but you'll never know if you need
> >one of them at a later time and having the right set of scripts can
> >become tricky.
> 
> And what about just chmod unneeded scripts to become not executable / 
> readable instead of removing?
> (I like the current "one directory" layout instead of some linuxism with 
> many directories and symlinks)

This and all the ideas about using enable/disable directories or
softlinks share a major problem:
They requires configuring outside of rc.conf, which is not what I want.
Of course I can do:
mkdir /etc/rc.d/disabled ; mv /etc/rc.d/moused /etc/rc.d/disabled
But then I would loose the ability to configure everything with rc.conf.
A tool, which parses rc.conf and automatically relocates might be an
option, but it would be better if it can be done without.

-- 
B.Walter <bernd_at_bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Received on Sat Jul 19 2008 - 13:35:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC