check_site.sh 372 B

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