sbindir is required in the PATH of _updown
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Dec 2007 22:12:10 +0000 (22:12 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Dec 2007 22:12:10 +0000 (22:12 -0000)
src/_updown/Makefile.am
src/_updown/_updown.in

index d0b7a27..9fd5927 100644 (file)
@@ -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):" \
        $< > $@
index be055f3..2549874 100644 (file)
 #
 
 # 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