openrc/support/openvpn
Mike Frysinger ef1ff1b4f2 make shell math operations style more succulent
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-11-19 02:25:36 -05:00
..
down.sh drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
README
up.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00

These handy scripts setup any dns information that OpenVPN may push.
They also handle the interaction with OpenRC so that the OpenVPN service
can become "inactive". This means that when it starts, it goes inactive and
OpenRC continues on its merry way booting the system. When OpenVPN connects
to an endpoint it then re-starts the OpenVPN service and starts up any
services that depend on us. A similar thing happens when we shut down.

Of course, this is all optional.