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

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!psuvax1!news.cc.swarthmore.edu!ralph.cs.haverford.edu!eoliver
  3. From: eoliver@ralph.cs.haverford.edu (Erik Oliver)
  4. Subject: Re: rc.local?
  5. Message-ID: <PYKWB5WT@cc.swarthmore.edu>
  6. Sender: news@cc.swarthmore.edu (USENET News System)
  7. Nntp-Posting-Host: ralph.cs.haverford.edu
  8. Organization: Haverford College Computer Science Department
  9. References: <1993Jan7.213419.7488@ornl.gov> <1993Jan8.051546.1660@antigone.com>
  10. Date: Fri, 8 Jan 1993 15:37:22 GMT
  11. Lines: 44
  12.  
  13. MMM.... personally, we call a bunch of things from rc.local under 3.0
  14. with absolutely no problems:
  15. (begin included /etc/rc.local)
  16. #!/bin/sh -u
  17. #
  18. # This script is for augmenting the standard system startup commands. It is 
  19. # executed automatically by the system during boot up. 
  20. #
  21. # Copyright (C) 1992 by NeXT Computer, Inc.  All rights reserved.
  22. #
  23. # As released orm, this script does nothing. You may customize
  24. # it as you wish.
  25. #
  26.  
  27. fbshow -A -B -E -I "Starting*Local*Services..."
  28.  
  29. # Read in configuration information
  30. . /etc/hostconfig
  31.  
  32. # (echo -n 'local daemons:')                    >/dev/console
  33. #
  34. # Run your own commands here
  35. #
  36. /usr/etc/accton /usr/adm/acct
  37. # The above line initiates the accounting software startup.
  38. # added: 11/2/92, 3:15 pm
  39. # (echo '.')                            >/dev/console
  40.  
  41. #
  42. # The following line initiates the NetNews trn, thread database daemon
  43. # mthreads.
  44. /usr/local/lib/trn/mthreads -d60 -e
  45. # added 11/12/92, 6:30pm, eoliver
  46. # -d60 means run every 60 minutes.
  47. # -e means do enhanced expiration check
  48.  
  49.  
  50. /usr/etc/accton is a mach executable, as is mthreads, and mthreads run
  51. with a '-d' is a daemon program which runs without any problems.
  52.  
  53. So, whatever your problem is, I somehow doubt it is a flaw in rc.local
  54. itself.
  55.  
  56. -Erik
  57.