Changeset 23531


Ignore:
Timestamp:
2010-10-19T09:01:38+02:00 (7 years ago)
Author:
jow
Message:

[package] ppp: honour option auto in atm hotplug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ppp/files/etc/hotplug.d/atm/20-atm-modem

    r21426 r23531  
    1111                config_get_bool up "$ifc" up 0 
    1212 
     13                local auto 
     14                config_get_bool auto "$ifc" auto 1 
     15 
    1316                local proto 
    1417                config_get proto "$ifc" proto 
    1518 
    16                 if [ "$proto" = "pppoa" ] && [ "$up" != 1 ]; then 
     19                if [ "$proto" = "pppoa" ] && [ "$up" != 1 ] && [ "$auto" = 1 ]; then 
    1720                        found=1 
    1821                        ( sleep 1; ifup "$ifc" ) & 
Note: See TracChangeset for help on using the changeset viewer.