On 8 November 2014 14:27, Charles Forsyth <[email protected]> wrote:
>
> On 8 November 2014 12:44, Rudolf Sykora <[email protected]> wrote:
>>
>> Have anybody ever solved a problem like this?
>> (What is the minimum I have to have in order to
>> run rc script on linux?)
>
>
> Just a guess but rc needs the bootstrap rcmain file, which it is looking for
> in the default
> directory, which is in /usr/local. I think if you set/export
> PLAN9=/home/sykora/plan9port
> as well as PATH, it might work.

Thanks, exporting PLAN9 at a suitable place seems to have helped.

Still, only if you can tell (I will test it at some point anyhow), is
1) rc binary
2) rcmain
3) suitable setting of PLAN9 variable
enough if you want to pass your rc script to somebody
who does not have p9p installed?
(Say, I wrote some rc scripts and now other people want
to use it...)

Thanks
Ruda

Reply via email to