aboutsummaryrefslogtreecommitdiffstats
path: root/src/_updown
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-12-12 22:12:10 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-12-12 22:12:10 +0000
commit52bb1876ec7836d48b09d54b04c37a7f0b843ff9 (patch)
treefb0cec62ac8d7356ccabc68bbb2b1d4907534063 /src/_updown
parent83e0d841a0269480b1fdf5f49658eebedb107a09 (diff)
downloadstrongswan-52bb1876ec7836d48b09d54b04c37a7f0b843ff9.tar.bz2
strongswan-52bb1876ec7836d48b09d54b04c37a7f0b843ff9.tar.xz
sbindir is required in the PATH of _updown
Diffstat (limited to 'src/_updown')
-rw-r--r--src/_updown/Makefile.am1
-rw-r--r--src/_updown/_updown.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/_updown/Makefile.am b/src/_updown/Makefile.am
index d0b7a27a4..9fd592797 100644
--- a/src/_updown/Makefile.am
+++ b/src/_updown/Makefile.am
@@ -5,6 +5,7 @@ EXTRA_DIST = _updown.in
_updown : _updown.in
sed \
+ -e "s:@IPSEC_SBINDIR@:$(sbindir):" \
-e "s:\@IPSEC_ROUTING_TABLE\@:$(IPSEC_ROUTING_TABLE):" \
-e "s:\@IPSEC_ROUTING_TABLE_PRIO\@:$(IPSEC_ROUTING_TABLE_PRIO):" \
$< > $@
diff --git a/src/_updown/_updown.in b/src/_updown/_updown.in
index be055f33e..25498749a 100644
--- a/src/_updown/_updown.in
+++ b/src/_updown/_updown.in
@@ -119,7 +119,7 @@
#
# define a minimum PATH environment in case it is not set
-PATH="/sbin:/bin:/usr/sbin:/usr/bin"
+PATH="/sbin:/bin:/usr/sbin:/usr/bin:@IPSEC_SBINDIR@"
export PATH
# uncomment to log VPN connections