This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: about sysvinit
- From: "Dr. Volker Zell" <dr dot volker dot zell at oracle dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 22 Feb 2010 09:53:45 +0100
- Subject: Re: about sysvinit
- References: <4B71EE1F.3000906@laposte.net>
>>>>> Cyrille Lefevre writes:
> Hi,
> I use ksh as /bin/sh bcoz pdksh is far more performant than bash
> (the same heavy script takes around 2.5 mins using ksh and around 6 mins
> using bash !)
> $ ls -l /usr/bin/sh
> lrwxrwxrwx 1 root root 7 2010-02-08 17:11 /usr/bin/sh -> ksh.exe
> But :
> package version : *** sysvinit-2.86-3.tar.bz2
> $ init-config
> /usr/bin/init-config[26]: source: not found
> /usr/bin/init-config[158]: csih_make_dir: not found
> /usr/bin/init-config[163]: csih_make_dir: not found
> /usr/bin/init-config[168]: csih_make_dir: not found
> /usr/bin/init-config[173]: csih_make_dir: not found
> /usr/bin/init-config[178]: csih_make_dir: not found
> ^C
> => the first line should be #!/bin/bash, not #!/bin/sh
> /bin/sh is not necesserally bash. if your script needs
> bash extensions, you must use #!/bin/bash.
I'll fix this in a new release.
> also, init seems to PANIC in some way but no core :
I can reproduce it. I'll follow up in a new thread on this.
Ciao
Volker
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple