summaryrefslogtreecommitdiff
path: root/scripts/vpn-ppp-up
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 /scripts/vpn-ppp-up
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 'scripts/vpn-ppp-up')
-rwxr-xr-xscripts/vpn-ppp-up35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/vpn-ppp-up b/scripts/vpn-ppp-up
new file mode 100755
index 0000000..1a72475
--- /dev/null
+++ b/scripts/vpn-ppp-up
@@ -0,0 +1,35 @@
+#!/bin/sh
+#
+# Module: vpn-ppp-up
+#
+# **** License ****
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# This code was originally developed by Vyatta, Inc.
+# Portions created by Vyatta are Copyright (C) 2006, 2007 Vyatta, Inc.
+# All Rights Reserved.
+#
+# Authors: Stig Thormodsrud
+# Date: July 2008
+# Description: wrapper for vyatta-vpn-pppoe
+#
+# **** End License ****
+#
+
+# $1 Interface name ppp0
+# $2 The tty ttyS1
+# $3 The link speed 38400
+# $4 Local IP number 12.34.56.78
+# $5 Peer IP number 12.34.56.99
+# $6 Optional ``ipparam'' value foo
+
+source /etc/default/vyatta
+
+/opt/vyatta/sbin/vyatta-vpn-ppp-updown.pl $6 up