diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-07-22 18:36:45 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-07-22 18:36:45 -0700 |
commit | bdef00e75a4474a136f3bb2432c98d5ac338fcaa (patch) | |
tree | 4f4be157296b38b5e453b9d71ac7fccf1b76a39b /scripts/vpn-ppp-down | |
parent | 760876d8328880316720ebce2bdcc1b86372350c (diff) | |
download | vyatta-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-down')
-rwxr-xr-x | scripts/vpn-ppp-down | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/vpn-ppp-down b/scripts/vpn-ppp-down new file mode 100755 index 0000000..d72681d --- /dev/null +++ b/scripts/vpn-ppp-down @@ -0,0 +1,35 @@ +#!/bin/sh +# +# Module: vpn-ppp-down +# +# **** 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 down |