diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-16 19:56:41 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-16 19:56:41 +0000 |
commit | 521099ad9896f41dfab51484c01942264c26b6bb (patch) | |
tree | 5447108c0dbddb011703e48949fcc47d7346a2e9 /applications | |
parent | 08f46b2a11d95146dabab31ad6e5e9a30d3bf977 (diff) |
applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-ffwizard/root/etc/uci-defaults/device-defaults | 3 |
1 files changed, 3 insertions, 0 deletions
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" |