Re: better init.d/* : who carres ?
- To: debian-devel@lists.debian.org
- Subject: Re: better init.d/* : who carres ?
- From: David Weinehall <tao@debian.org>
- Date: Fri, 11 Nov 2005 17:01:11 +0100
- Message-id: <[🔎] 20051111160111.GH17750@vasa.acc.umu.se>
- Mail-followup-to: debian-devel@lists.debian.org
- In-reply-to: <87vf1rkrm0.fsf@becket.becket.net>
- References: <20050824145040.GA6034@xpeerience.u-strasbg.fr> <dei2tl$g0m$1@news.cistron.nl> <20050824154404.GB20087@opium.palfrader.org> <1124900552.18225.67.camel@localhost.localdomain> <430D74C4.2020508@ulpmm.u-strasbg.fr> <20050825151756.GK2339@khazad-dum.debian.net> <20050826113304.GF5011@khan.acc.umu.se> <87vf1rkrm0.fsf@becket.becket.net>
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: