From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215902.tru64-unix-managers.marc@archive.invalid> From: Erik Piip Date: Tue, 10 Aug 1999 21:13:46 +0000 To: tru64-unix-managers Subject: Doing a clean shutdown from inside a script. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215902 I have an interesting question... I've just installed APC Power Chute Plus software.... I'm a little suspicious about how they do a system shutdown, and am looking for possible alternatives. In normal circumstances, one would do a "shutdown time" to bring a Digital Unix system to single user mode, then do "shutdown -h now" to get it to the console prompt. On several occasions in the past we did "shutdown -h now" from a fully operation system, and ended up corrupting several log files and our NSR index data base!!!!! Question: Is there a clean way to bring a system down gracefully, to the halt prompt from inside a script??? ie: Cleanly shutdown NSR, nfs etc, unmount file system and come to a halt..... Any thoughts and experience would be appreciated.... Regards, Erik - ================================================================== Erik Piip ph:[1]617-621-7516 fax:[1]617-621-7550 e-mail: piip@merl.com /\ Manager of Computer Network Services _\/_ Mitsubishi Electric Research Laboratories /_/\_\ 201 Broadway, Cambridge, MA 02139 ==================================================================