From 52bb1876ec7836d48b09d54b04c37a7f0b843ff9 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 12 Dec 2007 22:12:10 +0000 Subject: sbindir is required in the PATH of _updown --- src/_updown/Makefile.am | 1 + src/_updown/_updown.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/_updown') 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 -- cgit v1.2.3