check_site.sh 306 B

123456
  1. #!/bin/sh
  2. SITE_CONFIG_LUA=package/gluon-core/files/usr/lib/lua/gluon/site_config.lua
  3. CHECK_SITE_LIB=scripts/check_site_lib.lua
  4. "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "site = dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}'); dofile(os.getenv('GLUONDIR') .. '/${CHECK_SITE_LIB}'); dofile()"