home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:8548 comp.unix.admin:6316 comp.unix.programmer:5389 comp.unix.wizards:4830
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.noc.drexel.edu!king.mcs.drexel.edu!king.mcs.drexel.edu!usmyrtle
- From: usmyrtle@mcs.drexel.edu (Steven Myrtle)
- Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.programmer,comp.unix.wizards
- Subject: reboot()
- Message-ID: <1992Nov21.210221.10032@mcs.drexel.edu>
- Date: 21 Nov 92 21:02:21 GMT
- Sender: usmyrtle@mcs.drexel.edu (Steven Myrtle)
- Organization: Drexel University
- Lines: 10
-
- I need to write a program that uses reboot(RB_HALT) under SunOS 4.1.x to
- mimic the action of /usr/etc/halt. Is there anything I should do before
- calling reboot(), like closing all file descriptors and killing the
- syslog daemon (halt seems to do that)? Is there any place I could get
- the code for halt?
-
- Please email me if possible.
-
- Thanks,
- Steven (usmyrtle@mcs.drexel.edu)
-