gluon/scripts/site.sh
2015-04-22 21:07:31 +02:00

6 lines
222 B
Bash
Executable File

#!/bin/sh
SITE_CONFIG_LUA=package/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