Look at the first line of sshd and functions scripts:-) "bash -x ./sshd" works fine.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen > Sent: Tuesday, April 01, 2003 1:23 PM > To: '[EMAIL PROTECTED]' > Subject: Re: sshd through sysV init > > > On Tue, Apr 01, 2003 at 06:26:52PM +0100, Vince Hoffman wrote: > > Hi all, > > I'm having some problems trying to use sshd from init. > > I tried the init.d/sshd script on the CLI and got the > following output: > > [/etc/rc.d/init.d]$ sh -x ./sshd > + . /etc/rc.d/init.d/functions > + TEXTDOMAIN=initscripts > + TEXTDOMAINDIR=/etc/locale > + umask 022 > + export > + > PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home/corinn > a/bin:/usr/local/bin:/usr/bin:/bin:/mnt/c/WINDOWS/system32:/mn > t/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/usr/bin:/bin:/usr/X11R6/bin > + [ -z ] > + COLUMNS=80 > + [ -f /etc/sysconfig/i18n -a -z ] > + [ -z ] > + [ -f /etc/sysconfig/init ] > + BOOTUP=color > + RES_COL=60 > + MOVE_TO_COL=echo -en \033[60G > + SETCOLOR_SUCCESS=echo -en \033[1;32m > + SETCOLOR_FAILURE=echo -en \033[1;31m > + SETCOLOR_WARNING=echo -en \033[1;33m > + SETCOLOR_NORMAL=echo -en \033[0;39m > + LOGLEVEL=1 > + [ -x /sbin/consoletype ] > + [ color != verbose ] > + INITLOG_ARGS=-q > /etc/rc.d/init.d/functions: 234: Syntax error: Bad substitution > > Sergey? > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:[EMAIL PROTECTED] > Red Hat, Inc. > > -- > Unsubscribe info: > http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/