applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK
[project/luci.git] / applications / luci-ffwizard / root / etc / uci-defaults / device-defaults
index 6a70e67..3ebf4c0 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+# prevent running on sdk
+type config_get >/dev/null 2>/dev/null || exit 0
+
 set_default_config()
 {
        local cfg="$1"