Ignore:
Timestamp:
2010-05-01T19:55:41+02:00 (7 years ago)
Author:
jow
Message:

[package] pptp:

  • bring pptp scripts in sync with updated ppp logic
  • bump package revision
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/pptp/files/pptp.sh

    r14887 r21284  
    1 scan_pptp() { 
    2         scan_ppp "$@" 
    3 } 
    4  
    51find_gw() { 
    62        route -n | awk '$1 == "0.0.0.0" { print $2; exit }' 
    73} 
    84 
     5stop_interface_pptp() { 
     6        stop_interface_ppp "$1" 
     7} 
    98 
    109setup_interface_pptp() { 
     
    3231        [ -z "$netmask" -o -z "$device" ] || ifconfig $device netmask $netmask 
    3332 
    34         # make sure the network state references the correct ifname 
    35         scan_ppp "$config" 
    36         config_get ifname "$config" ifname 
    37         uci_set_state network "$config" ifname "$ifname" 
    38  
    3933        config_get mtu "$config" mtu 
    4034        mtu=${mtu:-1452} 
Note: See TracChangeset for help on using the changeset viewer.