[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: better init.d/* : who carres ?



On Thu, Aug 25, 2005 at 12:17:56PM -0300, Henrique de Moraes Holschuh wrote:
> On Thu, 25 Aug 2005, Marc Chantreux wrote:
> > that is a point which surprise me : i understand the dash for a posix 
> > and lightweight attitude but why use bash as "modern shell" ? why not 
> > perl or zsh (which are both more powerfull) ?
> 
> Well, as long as you don't start using stuff that breaks often, or that
> loads a ton of crap dynamically, or (even worse) is in /usr instead of /bin
> or /sbin...
> 
> Note that using dash is probably MUCH faster than perl.  I don't know about
> zsh.

Well, writing scripts that use /bin/sh or perl means that the init
script will run without any dependencies on optional packages.
zsh is Priority: optional...

And while dash is also optional, all *correctly* written /bin/sh
scripts should work with dash too.


Regards: David Weinehall
-- 
 /) David Weinehall <tao@debian.org> /) Rime on my window           (\
//  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   //  Diamond-white roses of fire //
\)  http://www.acc.umu.se/~tao/    (/   Beautiful hoar-frost       (/



Reply to: