Article View: comp.sys.sun
Article #9409Re: Shutting down a Sun System with a Shell Script
From: David Wiseman
Date: Sun, 04 Dec 1988 04:05
Date: Sun, 04 Dec 1988 04:05
21 lines
1486 bytes
1486 bytes
In X-Sun-Spots-Digest: Volume 7, Issue 21, message 7 of 12
From: STELLABO@CSHLAB.BITNET
Fred J. Stellabotte asks questions about taking suns down to single user mode
to run backup.
I've been playing with this for a little while and I may have a way to do
it. First a note of caution: I haven't tried this yet but I cannot see
any reason why it won't work.
Build a procedure that replaces /etc/rc.boot with another shell script
(being careful not to lose rc.boot) and then forces a reboot. The
replacement rc.boot would do whatever you wanted then replace itself with
the original rc.boot and force a reboot again.
Has anyone out there tried this yet? Can anyone tell me why this is a
really stupid idea that should have been left in a wastebasket?
magi David Wiseman, Network Manager
Department of Computer Science
The University of Western Ontario
London Ontario Canada N6A 5B7
Technical Details
Message-ID:
<8811231855.AA05234@uwocsd.uwo.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: magi%uwocsd.uwo.ca@cornellc.cit.cornell.edu (David Wiseman) Newsgroups: comp.sys.sun Subject: Re: Shutting down a Sun System with a Shell Script Message-ID: <8811231855.AA05234@uwocsd.uwo.ca> Date: 4 Dec 88 04:05:11 GMT Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 21 Approved: Sun-Spots@rice.edu Original-Date: Wed, 23 Nov 88 13:55:02 EST X-Sun-Spots-Digest: Volume 7, Issue 37, message 6 of 12