"jim" <[EMAIL PROTECTED]> wrote:
>......Taken from your LWQ.....
>Create the script using your editor or by downloading it with your web
>browser, then install it into your system's init.d directory, which should
>be in one of the following locations:
>
>/etc/init.d
>/sbin/init.d
>/etc/rc.d/init.d
>...............................
>
>I don't have these directories in my version of linux, I'm using slackware
>7.1.
>I have:
>
>qmail rc.M rc.gpm rc.inet2 rc.news
>rc.0 rc.S rc.httpd rc.local rc.pcmcia
>rc.4 rc.atalk rc.ibcs2 rc.local~ rc.samba
>rc.6 rc.cdrom rc.inet1 rc.modules rc.serial
>rc.K rc.font.sample rc.inet1~ rc.netdevice rc.sysvinit
>alita:/etc/rc.d#
>
>So I guess I just put the qmail script here: /etc/rc.d/. Maybe include it
>in my rc.local file so it loads on booting-up?
Yes, adding the following line to rc.local should do the trick:
/etc/rc.d/qmail start
>alita:/# /usr/local/sbin/qmail cdb
>bash: /usr/local/sbin/qmail: No such file or directory
The script is probably is DOS format. See:
http://www.faqts.com/knowledge-base/view.phtml/aid/1200/fid/223/lang/en
Let me know if that doesn't fix it.
-Dave