Shutting down a Sun System with a Shell Script

Derek E. Terveer det at hawkmoon.mn.org
Mon Dec 12 09:12:55 AEST 1988


In article <8811102135.AA09427 at rice.edu>, STELLABO at 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 at hawkmoon.MN.ORG
			w(612)681-6986	h(612)688-0667



More information about the Comp.sys.sun mailing list