Re: better init.d/* : who carres ?
On Fri, 11 Nov 2005, David Weinehall wrote:
> On Sat, Aug 27, 2005 at 02:16:39PM -0700, Thomas Bushnell BSG wrote:
> > David Weinehall <email@example.com> writes:
> > > And while dash is also optional, all *correctly* written /bin/sh
> > > scripts should work with dash too.
> > That's incorrect. A correctly written /bin/sh script is allowed to
> > use Debian programs (including, say, test) and expect to get the
> > Debian versions. Please read the thread on the policy list from quite
> > a while ago.
> (Sorry for an extremely late reply, found this sorted into the wrong
> test is in /usr/bin/ (together with [), thus at the very least
> init-scripts cannot rely on behaviour provided by /usr/bin/test,
> but make do with what /bin/sh provides, which limits you to what
> POSIX-test (e.g. dash) provides.
Er, only some such scripts; those that are run before /usr is available(which
is a small set).