site.sh 194 B

12345
  1. #!/bin/sh
  2. export GLUONDIR="$(dirname "$0")/.."
  3. "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "dofile(os.getenv('GLUONDIR') .. '/scripts/load_site.lua') print(assert(config.$1))" 2>/dev/null