From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2ba2e7305eb1b783 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-11 15:29:51 PST Path: gmd.de!xlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!eff!news.kei.com!bloom-beacon.mit.edu!paperboy.osf.org!paperboy.osf.org!dsb From: dsb@osf.org (David Boyce) Newsgroups: comp.unix.osf.osf1 Subject: Re: starting software at boot Date: 11 Feb 1994 23:29:51 GMT Organization: Open Software Foundation Distribution: world Message-ID: References: <2jeg5bINNmaq@lanews.la.asu.edu> NNTP-Posting-Host: ets7.osf.org In-reply-to: scowen@tycho.la.asu.edu's message of 10 Feb 1994 23:31:55 GMT >> OK, I think I'm starting to lose my mind over this one. I am trying to start >> software at boot time much in the same way we used to be able to with BSD by >> adding a line to rc.local. >> Now I am aware of the /sbin structures init.d and rc1.d, rc2.d and rc3.d that >> contain symbolic links to the former for scripts to run for each task required >> at boot time. I am also aware that all these scripts use /sbin/sh to run. >> My question then is does all software that is run at boot have to statically >> linked instead of dynamically? I ask since all efforts to get new software >> to run at boot have resulted in simple non-running of the software, no errors >> just not run, period. And yes the scripts are executable, etc.. >> Does anybody have any sage advice with this - what's the simple thing I'm >> missing? I mean it can't be that tough?! Email responses please. Put the following line in the scripts that are giving you trouble: exec >/tmp/`basename $0`.out 2>&1 && set -x This will direct the stdout/stderr from the script and its children to the temp file, and turn on verbosity within the script. You should be able to figure out what the problem is after examining the result. -- David Boyce dsb@osf.org 617-621-8963