diff --git a/base/usr/bin/onegate b/base/usr/bin/onegate new file mode 100755 index 0000000..d63dc80 --- /dev/null +++ b/base/usr/bin/onegate @@ -0,0 +1,12 @@ +#!/bin/bash + +ENV_FILE=/tmp/one_env + +if [ -f $ENV_FILE ]; then + . $ENV_FILE +fi + +DIR=$(dirname $(readlink -f $0)) + +ruby $DIR/onegate.rb $* +