When my tinc-down script is invoked, $NAME is defined to be a load of rubbish. When my tinc-up script is invoked, $NAME is defined to be the name of the local node as defined in tinc.conf Sam