Changeset 28631


Ignore:
Timestamp:
2011-10-27T22:28:37+02:00 (6 years ago)
Author:
nbd
Message:

netifd: remove obsolete _init callbacks, set available=1 for ppp

Location:
trunk/package/netifd/files/lib/netifd/proto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/netifd/files/lib/netifd/proto/dhcp.sh

    r28499 r28631  
    4949} 
    5050 
    51 dhcp_init() { 
    52         return 
    53 } 
    54  
    5551add_protocol dhcp 
    5652 
  • trunk/package/netifd/files/lib/netifd/proto/ppp.sh

    r28630 r28631  
    9595        ppp_generic_init_config 
    9696        no_device=1 
     97        available=1 
    9798} 
    9899 
     
    106107ppp_teardown() { 
    107108        ppp_generic_teardown "$@" 
    108 } 
    109  
    110 ppp_init() { 
    111         return 
    112109} 
    113110 
     
    141138pppoe_teardown() { 
    142139        ppp_generic_teardown "$@" 
    143 } 
    144  
    145 pppoe_init() { 
    146         return 
    147140} 
    148141 
     
    183176} 
    184177 
    185 pppoa_init() { 
    186         return 
    187 } 
    188  
    189178[ -n "$INCLUDE_ONLY" ] || { 
    190179        add_protocol ppp 
Note: See TracChangeset for help on using the changeset viewer.