applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK

This commit is contained in:
Jo-Philipp Wich 2011-02-16 19:56:41 +00:00
parent 08f46b2a11
commit 521099ad98
1 changed files with 3 additions and 0 deletions

View File

@ -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"