]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/_updown/_updown
_updown inserts routes only if a sourceip is defined
[thirdparty/strongswan.git] / src / _updown / _updown
Content-type: text/html ]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/_updown/_updown


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 97.
CommitLineData
997358a6
MW
1#! /bin/sh
2# iproute2 version, default updown script
3#
4# Copyright (C) 2003-2004 Nigel Meteringham
5# Copyright (C) 2003-2004 Tuomo Soini
6# Copyright (C) 2002-2004 Michael Richardson
ef014519 7# Copyright (C) 2005-2007 Andreas Steffen <andreas.steffen@strongswan.org>
997358a6
MW
8#
9# This program is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by the
11# Free Software Foundation; either version 2 of the License, or (at your
12# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
13#
14# This program is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17# for more details.
18#
19# RCSID $Id: _updown.in,v 1.2 2006/04/17 15:06:29 as Exp $
20
21# CAUTION: Installing a new version of strongSwan will install a new
22# copy of this script, wiping out any custom changes you make. If
23# you need changes, make a copy of this under another name, and customize
24# that, and use the (left/right)updown parameters in ipsec.conf to make
25# strongSwan use yours instead of this default one.
26
27# things that this script gets (from ipsec_pluto(8) man page)
28#
29# PLUTO_VERSION
30# indicates what version of this interface is being
31# used. This document describes version 1.1. This
32# is upwardly compatible with version 1.0.
33#
34# PLUTO_VERB
35# specifies the name of the operation to be performed
36# (prepare-host, prepare-client, up-host, up-client,
37# down-host, or down-client). If the address family
38