diff --git a/base/usr/bin/onegate b/base/usr/bin/onegate index d63dc80..da2ce35 100755 --- a/base/usr/bin/onegate +++ b/base/usr/bin/onegate @@ -6,6 +6,8 @@ if [ -f $ENV_FILE ]; then . $ENV_FILE fi +export HOME=/root + DIR=$(dirname $(readlink -f $0)) ruby $DIR/onegate.rb $*