Ing. Carlos Alberto Dávila Cantú <[EMAIL PROTECTED]> wrote:
> Hi, I recently install qmail in a SuSE 7.0 Linux. I follow the instructions
> of the document My life with qmail, but when I make the scripts for start,
> stop and restart for init.d, I can't execute this script in root user, I
> change the mode to 755 and I can´t execute this file. How can I do for
> execute this script:
>
> #!/bin/sh
[...]
You really haven't given us enough information. You say you can't execute
the script; what error messages do you get when you try?
As a first guess, it might be that you have carriage return characters in
that file, and therefore the kernel is looking for "/bin/sh^M" to execute
the script.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------