🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9190

Shutting down a Sun System with a Shell Script?

#9190
From: STELLABO
Date: Tue, 22 Nov 1988 18:01
22 lines
1165 bytes
Is there anyway to perform the following steps in a shell script from
crontab on a Sun 3/280s file server:

        1) Bring the system down to single user with the Shutdown Command

        2) umount the /usr file systems

        3) Perform a level (1-9) on the /usr file system

        4) Re mount the file systems.

        5) Bring the computer up in multi user.

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.

Thanks for your help.

Fred J. Stellabotte
stellabo@cshlab.BITNET
(516) 367-8420
Technical Details
Message-ID: <8811102135.AA09427@rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!rice!sun-spots-request
From: STELLABO@CSHLAB.BITNET
Newsgroups: comp.sys.sun
Subject: Shutting down a Sun System with a Shell Script?
Message-ID: <8811102135.AA09427@rice.edu>
Date: 22 Nov 88 18:01:44 GMT
Sender: usenet@rice.edu
Reply-To: Sun-Spots@Rice.edu
Organization: Rice University, Houston, Texas
Lines: 22
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 10 Nov 88 15:56 EST
X-Sun-Spots-Digest: Volume 7, Issue 21, message 7 of 12