On Fri, Dec 13, 2013 at 11:31:27PM +0100, Guus Sliepen wrote:

> > is this correct?  shouldn't tinc run scripts with a path relative to
> > its configuration? :)
> 
> It might indeed be nice to run the scripts with the working directory set to
> the configuration directory. I don't think there is any argument against that.
> In the mean time, the workaround is to call the following at the top of your
> scripts:
> 
> cd `basename $0`

Oops, I meant:

cd `dirname $0`

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to