f23e024787
This will allow us to use its content from other languages than Lua as well.
6 lines
187 B
Bash
Executable File
6 lines
187 B
Bash
Executable File
#!/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
|