This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: about sysvinit


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]