From: dsb@osf.org (David Boyce)
Subject: Re: starting software at boot
Date: 11 Feb 1994 23:29:51 GMT [thread overview]
Message-ID: <DSB.94Feb11182951@ets7.osf.org> (raw)
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
prev parent reply other threads:[~1994-02-11 23:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-10 23:31 starting software at boot Paul A. Scowen
1994-02-11 23:29 ` David Boyce [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox