summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rwxr-xr-xscripts/vpn-config.pl2
-rwxr-xr-xscripts/vti-up-down (renamed from scripts/vti-up-down.sh)0
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index ef5166d..d315d3b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,4 +41,4 @@ install-exec-hook:
cp scripts/vpn-ppp-up $(DESTDIR)/etc/ppp/ip-up.d/
cp scripts/vpn-ppp-down $(DESTDIR)/etc/ppp/ip-down.d/
cp scripts/ipsecd-dhclient-hook $(DESTDIR)/etc/dhcp3/dhclient-exit-hooks.d/ipsecd
- cp scripts/vti-up-down.sh $(DESTDIR)/usr/lib/ipsec/
+ cp scripts/vti-up-down $(DESTDIR)/usr/lib/ipsec/
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index e761ea5..82b80eb 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -1263,7 +1263,7 @@ if ( $vcVPN->exists('ipsec') ) {
vpn_die(["vpn","ipsec","site-to-site","peer",$peer,"vti","bind"],
"$vpn_cfg_err No interface bind specified for peer \"$peer\" vti\n");
}
- $genout .= "\tleftupdown=\"/usr/lib/ipsec/vti-up-down.sh $tunName\"\n";
+ $genout .= "\tleftupdown=\"/usr/lib/ipsec/vti-up-down $tunName\"\n";
}
#
diff --git a/scripts/vti-up-down.sh b/scripts/vti-up-down
index 60fc191..60fc191 100755
--- a/scripts/vti-up-down.sh
+++ b/scripts/vti-up-down