home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!cad4.lbl.gov!mario
- From: mario@cad4.lbl.gov (mario aranha)
- Newsgroups: comp.sys.hp
- Subject: /etc/rc
- Followup-To: comp.sys.hp
- Date: 7 Jan 1993 21:59:32 GMT
- Organization: Lawrence Berkeley Laboratory
- Lines: 27
- Sender: mario@cad4.lbl.gov
- Distribution: world
- Message-ID: <28267@dog.ee.lbl.gov>
- NNTP-Posting-Host: 128.3.252.177
-
- I've been trying to start some software license
- daemons automatically at boot on a 700/8.07 by
- calling them in the localrc() function in /etc/rc.
- Localrc() does get called by /etc/rc at boot but
- nothing within localrc() seems to be executed when
- the system is rebooted. Here's the relevant code from
- /etc/rc:
-
- #! /bin/sh
- blah, blah, ...
-
- localrc()
- {
- /usr/local/flexlm/bin/lmgrd > /usr/local/flexlm/licenses/license.log &
- }
-
- blh, blah, ...
-
- if [ ! -f /etc/rcflag ] # Boot time invocation only
- then
-
- blah, blah, ...
-
- localrc
- fi
-
- blah, blah, ...
-