🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9532

Re: Shutting down a Sun System with a Shell Script

#9532
From: Derek E. Terveer
Date: Sun, 11 Dec 1988 23:12
17 lines
1286 bytes
In article <8811102135.AA09427@rice.edu>, STELLABO@CSHLAB.BITNET writes:
> Is there anyway to perform the following steps in a shell script from
> crontab on a Sun 3/280s file server:
> [steps described]
> I have tried putting the above commands in a script and running the script
> as super user with 'nohup' set, but my script is killed when the system
> goes down to single user.

I belive that one way of getting around this problem is to add an entry
into your /etc/inittab file (if you have one -- i'm more of a sysV
type...) that come into affect when going from init level 2 to level 1. 

Hope this helps,
derek
-- 
Derek Terveer		det@hawkmoon.MN.ORG
			w(612)681-6986	h(612)688-0667
Technical Details
Message-ID: <633@hawkmoon.MN.ORG>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!labrea!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8811102135.AA09427@rice.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!labrea!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: det@hawkmoon.mn.org (Derek E. Terveer)
Newsgroups: comp.sys.sun
Subject: Re: Shutting down a Sun System with a Shell Script
Message-ID: <633@hawkmoon.MN.ORG>
Date: 11 Dec 88 23:12:55 GMT
References: <8811102135.AA09427@rice.edu>
Sender: usenet@rice.edu
Organization: Rice University, Houston, Texas
Lines: 17
Approved: Sun-Spots@rice.edu
Original-Date: 28 Nov 88 18:50:05 GMT
X-Sun-Spots-Digest: Volume 7, Issue 43, message 9 of 15