aboutsummaryrefslogtreecommitdiff
path: root/net/ip6to4.sh
AgeCommit message (Collapse)Author
2012-01-08net: net.lo, lots of scriptsRobin H. Johnson
The program function in depend blocks is now able to search paths by itself. If passed multiple arguments or multiple calls, at least one of the arguments passed must be a program or a shell builtin (eg ip built into busybox). If a qualified path is specified, only that path will be checked, otherwise it will be checked as a builtin, then $PATH will be checked for the named binary (via type). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-12-26net/ip6to4: Split to use pre_start and start so that other tunnel names work.Robin H. Johnson
We need to create interfaces of custom names before we can sucessfully start them. To do this, we have to add tunnels during prestart instead of start. Split up the ip6to4 script to do this, saving the computed variables for use in start with the new service data commands. X-Gentoo-Bug: 372575 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=372575 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-12-09ip6to4: set correct subnet maskWilliam Hubbs
The correct setting for this is /48. Reported-by: MaratIK <marat.buharov@gmail.com> X-Gentoo-Bug: 392723 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392723
2011-11-19make shell math operations style more succulentMike Frysinger
Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-01Add (c) to CopyrightRoy Marples
2008-03-26Merge net.OS into netRoy Marples