Article View: comp.sys.next.sysadmin
Article #2268Re: rc.local?
From: Erik Oliver
Date: Fri, 08 Jan 1993 15:37
Date: Fri, 08 Jan 1993 15:37
44 lines
1825 bytes
1825 bytes
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
Technical Details
Message-ID:
<PYKWB5WT@cc.swarthmore.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!psuvax1!news.cc.swarthmore.edu!ralph.cs.haverford.edu!eoliverReferences:
<1993Jan7.213419.7488@ornl.gov> <1993Jan8.051546.1660@antigone.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!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