aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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