mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
17 lines
468 B
Bash
17 lines
468 B
Bash
#!/usr/bin/env sh
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
set -eu
|
|
|
|
command="${1:-}"
|
|
case "$command" in
|
|
eval|console|remote_console|remote|remsh|console_clean|console_boot|daemon|daemon_boot|daemon_attach|escript)
|
|
echo "fluxer_gateway: '$command' is disabled in production; use bounded rpc/runtime tools instead." >&2
|
|
exit 64
|
|
;;
|
|
esac
|
|
|
|
script_dir="$(CDPATH= cd "$(dirname "$0")" && pwd -P)"
|
|
exec "$script_dir/fluxer_gateway.real" "$@"
|