home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8548 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  944 b 

  1. Xref: sparky comp.sys.sun.admin:8548 comp.unix.admin:6316 comp.unix.programmer:5389 comp.unix.wizards:4830
  2. 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
  3. From: usmyrtle@mcs.drexel.edu (Steven Myrtle)
  4. Newsgroups: comp.sys.sun.admin,comp.unix.admin,comp.unix.programmer,comp.unix.wizards
  5. Subject: reboot()
  6. Message-ID: <1992Nov21.210221.10032@mcs.drexel.edu>
  7. Date: 21 Nov 92 21:02:21 GMT
  8. Sender: usmyrtle@mcs.drexel.edu (Steven Myrtle)
  9. Organization: Drexel University
  10. Lines: 10
  11.  
  12. I need to write a program that uses reboot(RB_HALT) under SunOS 4.1.x to
  13. mimic the action of /usr/etc/halt.  Is there anything I should do before
  14. calling reboot(), like closing all file descriptors and killing the
  15. syslog daemon (halt seems to do that)?  Is there any place I could get
  16. the code for halt?
  17.  
  18. Please email me if possible.
  19.  
  20. Thanks,
  21. Steven (usmyrtle@mcs.drexel.edu)
  22.