*-{up,down} env vars
Nicolás Reynolds
fauno at kiwwwi.com.ar
Fri Dec 13 23:43:48 CET 2013
Guus Sliepen <guus at tinc-vpn.org> writes:
> 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:
:D
>> cd `basename $0`
>
> Oops, I meant:
>
> cd `dirname $0`
haha it may've been the time of the night i didn't thought of that :)
--
http://endefensadelsl.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20131213/b558bf4c/attachment.sig>
More information about the tinc
mailing list