Automatic initd script.

From: Naidu V. T. <naidu_at_iitcoman.com>
Date: Sat, 13 Sep 2003 11:12:05 +0400

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.
Received on Mon Sep 15 2003 - 14:58:45 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT