Re: better init.d/* : who carres ?
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.
Regards: David Weinehall
/) David Weinehall <firstname.lastname@example.org> /) Rime on my window (\
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire //
\) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/