From 521099ad9896f41dfab51484c01942264c26b6bb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 16 Feb 2011 19:56:41 +0000 Subject: [PATCH] applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK --- .../luci-ffwizard/root/etc/uci-defaults/device-defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults index 6a70e67a2..3ebf4c0f0 100755 --- a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults +++ b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults @@ -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" -- 2.25.1