gluon/scripts/site.sh
2018-07-10 22:57:40 +02:00

5 lines
156 B
Bash
Executable File

#!/bin/sh
export GLUON_SITE_CONFIG=site.conf
exec openwrt/staging_dir/hostpkg/bin/lua -e "print(assert(dofile('scripts/site_config.lua').$1))" 2>/dev/null