Guus Sliepen <[email protected]> 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
pgpDV3FI6wicZ.pgp
Description: PGP signature
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
