Ignore:
Timestamp:
2011-07-05T02:52:10+02:00 (5 years ago)
Author:
jow
Message:

[package] 6in4, 6to4: prevent starting the tunnel if kmod-sit is not yet loaded (#9643)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/6to4/files/6to4.hotplug

    r23996 r27449  
    2121 
    2222                [ -n "$wanip" ] && { 
     23                        lsmod | grep -q ^sit || { 
     24                                logger -t 6to4 "Tunneling driver not loaded yet, deferring action" 
     25                                exit 0 
     26                        } 
     27 
    2328                        uci_set_state network "$cfg" ipaddr "$wanip" 
    2429                        ( ifup "$cfg" )& 
Note: See TracChangeset for help on using the changeset viewer.