On Fri, 19 Mar 2004, David M. Fetter wrote:

> One of my co-workers told me he found a conflict with rc being called. 
> See below:
> 
> so, the problem manifests which this little script:
> 
> ---
> #!/usr/local/lib/openpkg/bash --noprofile
 
Shouldn't OpenPKG install in it's own directory /openpkg?

> source /usr/local/openpkg/rc.func
> 
> rcService  sendmail enable yes
> echo $?
> 
> rcService  sendmail usable yes
> echo $?
> 
> rcService  sendmail active yes
> echo $?
> -----
> 
> the problem is on line 180:
>         eval `rc ${1} status`
> 
> it should be calling 'rc' with an explicit pathname.  In my case, it's
> grabbing /usr/local/bin/rc which is the plan 9 shell and spewing garbage
> (lots of nulls, in particular).
 
Make sure your PATH is set correct to reference /openpkg before
/usr/local/bin?

> I wanted to email this to you to get your take in the event it may be
> something you want to address or perhaps something we're doing wrong
> when calling the script.


- Mike

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to