On Mon, Mar 27, 2000 at 11:45:25PM +0000, Richard Adams wrote:
: >
: > killproc -TERM /usr/sbin/beacon &&
...
: > killproc -TERM /usr/sbin/kissattach &&
: > rmmod scc || return=$rc_failed
:
: I suppose killproc is a suse or possably a SysVinit script thingy, so i
: cant really comment on what could be causing problems, i do find the double
: & suspisous, but i am by no means an expert in scripting.
I imagine the 'killproc' is similar to 'killall' or some generic "kill
this process though I don't know it's PID" type of utility.
The && is script-speak for "and if successful..." Thus, each line
is only executed if the previous one succeeded (zero exit code).
If there's a failure at any point, that's where the || comes in ("but
if unsuccessful...").
I don't have much to realistically contribute, but I thought I'd offer
that up for those that wanted to understand what was going on.
David
--
== David Nesting WL7RO Fastolfe [EMAIL PROTECTED] http://fastolfe.net/ ==