Re: bashisms in init scripts
On Friday 12 of August 2005 10:41, Petter Reinholdtsen wrote:
> [Piotr Roszatycki]
>
> > I've tried to replace /bin/sh with /bin/posh and it was completly
> > disaster.
>
> Did the same happen using /bin/dash as /bin/sh? I believe it is
> comparable in size with posh.
No, dash works better. The problematic commands was 'test -a', 'test -o' and
'local'. Perhaps more. The system didn't up at all so I couldn't test enough.
> Talking about embedded systems, did you try to use busybox /bin/sh?
> Did it work? It could save even more space on an embedded
> installation.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316847
The busybox doesn't provide sh applet.
--
.''`. Piotr Roszatycki, Netia SA
: :' : mailto:Piotr_Roszatycki@netia.net.pl
`. `' mailto:dexter@debian.org
`-
Reply to: