tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Automatic initd script.
@ 2003-09-13  7:12 Naidu V. T.
  0 siblings, 0 replies; only message in thread
From: Naidu V. T. @ 2003-09-13  7:12 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-13  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-13  7:12 Automatic initd script Naidu V. T.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox