Automatic initd script.

From: Naidu V. T. (naidu@iitcoman.com)
Date: Sat Sep 13 2003 - 03:12:05 EDT


Hi gurus,

I need to run an UPS script automatically when tru64 boots up. I know I need to modify the following script with an option of start and stop and I have to copy these files in /sbin/initd. I tried but it's not happening. I will be happy if gurus can help me to modify the following script and procedure for automatic startup. We are using Tru64 version 5.1a .

The script used to start the runshield UPS software is as follows:

#!/bin/sh
# This is generic script for starting DataShield on UNIX
# It should run in directory where DataShield has been installed
# The artificial loop supports restarting of DataShield
# In case of problems, please make sure java is in the PATH
 
while test $? = 0
do
 
java -classpath .:classes/swingall.jar:classes/imvcomm.jar:classes/snmp.jar:classes/email.jar:classes/servlet.jar DataShield
 
done

Regards & Thanks

Naidu V.T
OHI Telecommunications.
P.O BOX 889, P.C 113
Muscat.
Oman.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:35 EDT