applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK
This commit is contained in:
parent
08f46b2a11
commit
521099ad98
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# prevent running on sdk
|
||||||
|
type config_get >/dev/null 2>/dev/null || exit 0
|
||||||
|
|
||||||
set_default_config()
|
set_default_config()
|
||||||
{
|
{
|
||||||
local cfg="$1"
|
local cfg="$1"
|
||||||
|
|
Loading…
Reference in a new issue