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