On Fri, Feb 02, 2001 at 05:34:49PM +0200, Brandon Friedman 
<[EMAIL PROTECTED]> wrote:
> [...]
> [smtp]
> [EMAIL PROTECTED]
> port=25
> host=xxx.xxx.xxx.xxx (ip of mail server)

host=127.0.0.1 will deliver the mail to the local e-smith server.

> [...]
> I added the line: ./usr/local/tapeware/twunxsvc -s to the end of my
> /etc/rc.d/rc.local  file!!
> [...]

We will not put anything into rc.local. RedHat do modify it from time to time,
so I would be careful to back it up during upgrades.

The "correct" way to do this is a simple RPM which includes one file:

/etc/rc.d/rc7.d/S99tapeware

which says:

#!/bin/sh

case $1 in 
    start) /usr/local/tapeware/twunxsvc -s ;;
    *) ;;
esac

Gordon
--
  Gordon Rowell                         [EMAIL PROTECTED]
  http://www.e-smith.org (development)  http://www.e-smith.com (corporate)
  Phone: +1 (613) 564 8000 ext. 4378    Fax: +1 (613) 564 7739
  e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

Reply via email to