[NTLUG:Discuss] what is ":bad option"?

Steve Baker sjbaker1 at airmail.net
Fri Jul 21 18:52:16 CDT 2000


m m wrote:
> 
> >From: Steve Baker <sjbaker1 at airmail.net>
> >Can you send us the contents of the script file? (Assuming it's not
> >too long that is!)
> >
> here is the script: (I just copy from Qmail-HOWTO) and name it as 'svscan'
> and put it in /etc/rc.d/init.d/
> 
> #---------beginning of the script ---------------

Do you literally have this line ("#-------beginning ...") at the
start of your file?

If so, that's the problem.  This line:

      #!/bin/sh -e

...has to be *exactly* the first thing in the file. No blank
lines, no comments, not even a single space character may precede
that '#!'.

-- 
Steve Baker   HomeEmail: <sjbaker1 at airmail.net>
              WorkEmail: <sjbaker at link.com>
              HomePage : http://web2.airmail.net/sjbaker1
              Projects : http://plib.sourceforge.net
                         http://tuxaqfh.sourceforge.net
                         http://tuxkart.sourceforge.net
                         http://prettypoly.sourceforge.net




More information about the Discuss mailing list