gluon/scripts/site.sh

6 lines
187 B
Bash
Raw Normal View History

2014-01-20 01:17:53 +00:00
#!/bin/sh
SITE_CONFIG_LUA=scripts/site_config.lua
"$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2>/dev/null