home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14648 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  28 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
  3. From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
  4. Subject: Re: /etc/rc
  5. Message-ID: <1993Jan8.152229.19354@alchemy.chem.utoronto.ca>
  6. Organization: University of Toronto Chemistry Department
  7. References: <28267@dog.ee.lbl.gov>
  8. Date: Fri, 8 Jan 1993 15:22:29 GMT
  9. Lines: 17
  10.  
  11. In article <28267@dog.ee.lbl.gov> mario@cad4.lbl.gov (mario aranha) writes:
  12. >I've been trying to start some software license
  13. >daemons automatically at boot on a 700/8.07 by
  14. >calling them in the localrc() function in /etc/rc.
  15. >Localrc() does get called by /etc/rc at boot but
  16. >nothing within localrc() seems to be executed when
  17. >the system is rebooted.
  18.  
  19. Try sticking a "sleep 10" command in there at the end - when the /etc/rc script
  20. exits, it kills all its child processes, so you need to make sure
  21. that all your processes have time to get rid of their parent process
  22. (and all your processes have to do that - they must be true daemons if
  23. they don't complete before returning control).
  24. -- 
  25. core error - bus dumped    -*-    Mike Peterson, SysAdmin, U/Toronto Chemistry
  26.  *******   As usual, I speak only for me, myself and I; nobody else   *******
  27. E-mail: system@alchemy.chem.utoronto.ca  Tel: (416)978-7094  Fax: (416)978-8775
  28.