Re: bashisms in init scripts

2005-08-12 Thread Piotr Roszatycki
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 p

Re: bashisms in init scripts

2005-08-12 Thread Frans Pop
On Friday 12 August 2005 10:19, Piotr Roszatycki wrote: > I've tried to replace /bin/sh with /bin/posh and it was completly > disaster. > > The replacement for bash is especially important on embedded plaforms > or palmtops with a little memory (like my Jornada 720). I've found that > the system sc

Re: bashisms in init scripts

2005-08-12 Thread Petter Reinholdtsen
[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. > The system was fucked up. I've found the errors in critical init > scripts: file-rc (/etc/init.d/rc),

bashisms in init scripts

2005-08-12 Thread Piotr Roszatycki
Hi. I've tried to replace /bin/sh with /bin/posh and it was completly disaster. The system was fucked up. I've found the errors in critical init scripts: file-rc (/etc/init.d/rc), hotplug, hdparm, console-tools, x11-xorg and many more. The replacement for bash is especially important on embedd