- #!/bin/sh
- export GLUONDIR="$(dirname "$0")/.."
- export GLUON_SITE_CONFIG="$GLUONDIR/site/site.conf"
- SITE_CONFIG_LUA=packages/gluon/gluon/gluon-core/files/usr/lib/lua/gluon/site_config.lua
- "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2>/dev/null
|