From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Naidu V. T." Newsgroups: gmane.os.tru64.managers Subject: Automatic initd script. Date: Sat, 13 Sep 2003 11:12:05 +0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1063637819 23978 80.91.224.253 (15 Sep 2003 14:56:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2003 14:56:59 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Sep 15 16:56:58 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19yumf-0006tk-00 for ; Mon, 15 Sep 2003 16:56:57 +0200 Original-Received: (qmail 31348 invoked by uid 5); 15 Sep 2003 14:54:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13175 invoked by uid 49493); 13 Sep 2003 07:13:44 -0000 Original-Received: from naidu@iitcoman.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 18.612595 secs); 13 Sep 2003 07:13:44 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 13 Sep 2003 07:13:26 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL500JC75ED2C@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 13 Sep 2003 03:13:25 -0400 (EDT) Original-Received: from EXSERVER01 ([212.72.22.90]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL500K735DG6M@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 13 Sep 2003 03:12:55 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: Automatic initd script. Thread-Index: AcN5xqh2k/lg7+UqEdePcACgJErftQ== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:5336 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5336 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=20 # 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=20 =20 while test $? =3D 0=20 do=20 =20 java -classpath = .:classes/swingall.jar:classes/imvcomm.jar:classes/snmp.jar:classes/email= .jar:classes/servlet.jar DataShield =20 done Regards & Thanks Naidu V.T OHI Telecommunications. P.O BOX 889, P.C 113 Muscat. Oman.