mac80211: deactivate mac80211 tracing
[openwrt.git] / package / 6to4 / files / 6to4.hotplug
index 037abd4..1e3d26c 100644 (file)
@@ -20,6 +20,11 @@ if [ "$ACTION" = ifup ]; then
                local wanip=$(find_6to4_wanip "$wandev")
 
                [ -n "$wanip" ] && {
+                       lsmod | grep -q ^sit || {
+                               logger -t 6to4 "Tunneling driver not loaded yet, deferring action"
+                               exit 0
+                       }
+
                        uci_set_state network "$cfg" ipaddr "$wanip"
                        ( ifup "$cfg" )&
                }
This page took 0.021472 seconds and 4 git commands to generate.