On Fri, Jan 30, 2004 at 08:54:15AM +0100, Stefan Kopp wrote:
> This script works fine (with SUSE).

Thank you for the script. A minor addition that might save you from 
headaches, though: you may wish to change the start of the script to
something like

#! /bin/sh
#
### BEGIN INIT INFO
# Provides:          tsm
# Required-Start:    $syslog $remote_fs $network
# X-UnitedLinux-Should-Start: $time ypbind
# Required-Stop:     $syslog $remote_fs $network
# X-UnitedLinux-Should-Stop: $time ypbind
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: Tivoli Storage Manager
# Description:       Start the Tivoli Storage Manager (TSM)
### END INIT INFO

to get an LSB conforming start script and avoid nasty surprises 
(such as the link to the script in /etc/rc.d/rcX.d suddenly showing up as
S01tsm).

Some pointers to more information on start scripts:

http://www.linuxbase.org/spec/refspecs/LSB_1.2.0/gLSB/initscrcomconv.html
insserv(8)
/etc/init.d/skeleton
/etc/insserv.conf

And, more generally for the boot scheme on SUSE LINUX, init(7).

-- 
Joerg Reuter                                    http://yaina.de/jreuter
And I make my way to where the warm scent of soil fills the evening air. 
Everything is waiting quietly out there....                 (Anne Clark)

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to