Displaying 1 result from an estimated 1 matches for "varconn2".
Did you mean:
varconn1
2015 Jan 12
1
SIMPLE TINC template example
...nc/$SDIR/hosts/$NODENAME
sed -i "s/VARNODENAME/${NODENAME}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARLISTIP/${LISTIP}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARPORT/${PORT}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARCONN1/${CONN1}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARCONN2/${CONN2}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARCONN3/${CONN3}/g" /tinc/$SDIR/tinc.conf
sed -i "s/VARVPNIP/${VPNIP}/g" /tinc/$SDIR/tinc-up
sed -i "s/VARMASK/${MASK}/g" /tinc/$SDIR/tinc-up
echo "-------------FINISHED WRITING TEMPLATE-----------"
######T...