mac80211: current revisions build with 3.2
[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.024147 seconds and 4 git commands to generate.