[package] uhttpd: add "application/x-ns-proxy-autoconfig" mime type (#8236)
[openwrt.git] / package / 6in4 / files / 6in4.hotplug
index 49667a8..9df9934 100644 (file)
@@ -20,6 +20,11 @@ if [ "$ACTION" = ifup ]; then
                local wanip=$(find_6in4_wanip "$wandev")
 
                [ -n "$wanip" ] && {
                local wanip=$(find_6in4_wanip "$wandev")
 
                [ -n "$wanip" ] && {
+                       lsmod | grep -q ^sit || {
+                               logger -t 6in4-update "Tunneling driver not loaded yet, deferring action"
+                               exit 0
+                       }
+
                        local tunnelid
                        config_get tunnelid "$cfg" tunnelid
 
                        local tunnelid
                        config_get tunnelid "$cfg" tunnelid
 
This page took 0.026926 seconds and 4 git commands to generate.