summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2014-10-05 14:55:37 +0100
committerAlex Harpin <development@landsofshadow.co.uk>2014-10-05 14:55:37 +0100
commita45c529838e42e5584b9cb991c893d1675054b35 (patch)
tree335ddf7a4cfb112c1ff520efd72608cc14174526
parentc53fca329e2ff49625321c516917896d566add6e (diff)
downloadvyatta-cfg-vpn-a45c529838e42e5584b9cb991c893d1675054b35.tar.gz
vyatta-cfg-vpn-a45c529838e42e5584b9cb991c893d1675054b35.zip
vyatta-cfg-vpn: rename vti-up-down.sh to vti-up-down
Rename vti-up-down.sh to vti-up-down to be consistent with others.
-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