Date: Sat, 19 Jul 2008 17:35:31 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Doug Barton <dougb@freebsd.org>, David Naylor <naylor.b.david@gmail.com>, ticso@cicely.de, freebsd-current@freebsd.org Subject: Re: rc improvements (wanted?) Message-ID: <20080719153530.GL35340@cicely7.cicely.de> In-Reply-To: <48820259.3060007@quip.cz> References: <200807172056.08835.naylor.b.david@gmail.com> <487FCA89.2010308@FreeBSD.org> <20080718083725.97823be0tg13fn6s@webmail.leidinger.net> <20080718071806.GV62764@server.vk2pj.dyndns.org> <20080718122928.GD35340@cicely7.cicely.de> <48820259.3060007@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080719153530.GL35340>