Date: Tue, 25 Jun 1996 23:32:16 -0400 From: "Eloy A. Paris" <Eloy.Paris@ven.ra.rockwell.com> To: questions@freebsd.org Subject: Script run at shutdown? Message-ID: <2.2.16.19960625233316.33ffb63e@zeus.ven.ra.rockwell.com>
next in thread | raw e-mail | index | archive | help
Hi, My apologies for this question that may be stupid but I am more System V oriented than BSD: is there any way to run a script at shutdown, like after invoking the commands shutdown, reboot or halt? In System V you can do so in the script rc.0 which takes care of unmounting file systems and maintenance stuff like that. I need this because the very last thing I want to do after the system is ready to die is to tell my UPS to kill power to preserve batteries. Thanks in advance. E-loy.- -- Eloy A. Paris Global Technical Services Rockwell Automation de Venezuela Telephone: 58-2-9432311 Fax: 58-2-9430323
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2.2.16.19960625233316.33ffb63e>