summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-07-22 18:36:45 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-07-22 18:36:45 -0700
commitbdef00e75a4474a136f3bb2432c98d5ac338fcaa (patch)
tree4f4be157296b38b5e453b9d71ac7fccf1b76a39b /Makefile.am
parent760876d8328880316720ebce2bdcc1b86372350c (diff)
downloadvyatta-cfg-vpn-bdef00e75a4474a136f3bb2432c98d5ac338fcaa.tar.gz
vyatta-cfg-vpn-bdef00e75a4474a136f3bb2432c98d5ac338fcaa.zip
Fix 3300: VPN over PPPOE completely fails on reboot
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ca00fae..a623854 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,7 @@ curverdir = $(sysconfdir)/config-migrate/current
sbin_SCRIPTS =
sbin_SCRIPTS += scripts/vpn-config.pl
+sbin_SCRIPTS += scripts/vyatta-vpn-ppp-updown.pl
share_perl5_DATA = scripts/VyattaVPNUtil.pm
@@ -19,4 +20,7 @@ cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates; $(cpiop) $(DESTDIR)$(cfgdir)
-
+ mkdir -p $(DESTDIR)/etc/ppp/ip-up.d
+ mkdir -p $(DESTDIR)/etc/ppp/ip-down.d
+ cp scripts/vpn-ppp-up $(DESTDIR)/etc/ppp/ip-up.d/
+ cp scripts/vpn-ppp-down $(DESTDIR)/etc/ppp/ip-down.d/