From: "Naidu V. T." <naidu@iitcoman.com>
Subject: Automatic initd script.
Date: Sat, 13 Sep 2003 11:12:05 +0400 [thread overview]
Message-ID: <C19CFC3803ABDE4CA4194BE3A193032510BB1D@EXSERVER01.ohi_net.com> (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.
reply other threads:[~2003-09-13 7:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox