Re: better init.d/* : who carres ?
On Sat, Aug 27, 2005 at 02:16:39PM -0700, Thomas Bushnell BSG wrote:
> David Weinehall <tao@debian.org> 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
mailbox):
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 <tao@debian.org> /) Rime on my window (\
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire //
\) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/
Reply to: