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

netifd: allow ppp based proto handlers to override the connect/disconnect script

File:
1 edited

Legend:

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

    r28499 r28630  
    5555        json_get_var password password 
    5656 
    57         json_get_var connect connect 
    58         json_get_var disconnect disconnect 
     57        [ -n "$connect" ] || json_get_var connect connect 
     58        [ -n "$disconnect" ] || json_get_var disconnect disconnect 
    5959        json_get_var pppd_options pppd_options 
    6060 
Note: See TracChangeset for help on using the changeset viewer.