home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 4910 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!bradley.bradley.edu!pwh
  3. From: pwh@bradley.bradley.edu (Pete Hartman)
  4. Subject: site customization of shutdown
  5. Message-ID: <1992Jul23.185729.2742@bradley.bradley.edu>
  6. Organization: Bradley University
  7. Date: Thu, 23 Jul 92 18:57:29 GMT
  8. Lines: 18
  9.  
  10.  
  11.  
  12. I am running a package (Informix OnLine) that uses a raw disk slice for
  13. its database.  On shutdown, to prevent data loss or corruption, I need
  14. to run an informix program to flush that disk slice and prevent any further
  15. requests, so that the database is orderly.  They say to add this to "shutdown".
  16.  
  17.  
  18. That would be well and good if /etc/shutdown were a shell script, but it
  19. isn't.  Is there any "nice" way to add tasks to /etc/shutdown, or am I
  20. going to have to write an "ugly" shellscript or C wrapper around it?
  21. I've checked the manual on shutdown and a couple of related things,
  22. but haven't seen anything that indicates I can do this cleanly, but I
  23. figured I'd ask the collective wisdom of the net before giving up.
  24. -- 
  25. Pete Hartman               Bradley University    pwh@bradley.bradley.edu
  26.           The poster of this article is a genuine and authorized POPE
  27.                           so *please* treat him right.
  28.