Difference between revisions of "ChaosVPN:Tims netbsd route hack attempt"

From CCCHHWiki
Jump to: navigation, search
(lol)
 
m
Line 2: Line 2:
  
  
  1      *      *      *      *    rm -f /etc/route.conf; /usr/local/etc/tinc/chaos/tinc-up 2> /dev/null | sed -e 's/:\([^:]*\):.*/\1 -face/' -e 's/^add //' >> /etc/route.conf
+
  1      *      *      *      *    rm -f /etc/route.conf; /usr/local/etc/tinc/chaos/tinc-up 2> /dev/null | sed -e 's/:\([^:]*\):.*/\1 -iface/' -e 's/^add //' >> /etc/route.conf

Revision as of 21:02, 9 November 2013

Add this to crontab:


1       *       *       *       *    rm -f /etc/route.conf; /usr/local/etc/tinc/chaos/tinc-up 2> /dev/null | sed -e 's/:\([^:]*\):.*/\1 -iface/' -e 's/^add //' >> /etc/route.conf