veyron/tools/mgmt/vbash: rename vsh to vbash to avoid conflict with tunnel client.
Change-Id: I65e1a1e4c74d467485178fb1637276dfcc5bdd0b
diff --git a/tools/mgmt/vsh b/tools/mgmt/vbash
similarity index 94%
rename from tools/mgmt/vsh
rename to tools/mgmt/vbash
index b0d0431..9a04701 100755
--- a/tools/mgmt/vsh
+++ b/tools/mgmt/vbash
@@ -11,18 +11,18 @@
# 2. Starts a shell under the agent, optionally fetching a remote blessing if
# the principal is missing.
#
-# Uses ~/.vsh to store its files, including binaries and the principal.
+# Uses ~/.vbash to store its files, including binaries and the principal.
#
# Usage:
#
# # Gets binaries from local repository
-# ./vsh
+# ./vbash
#
# # Gets binaries from local filesystem
-# ./vsh /path/to/binaries
+# ./vbash /path/to/binaries
#
# # Gets binaries from HTTP server
-# ./vsh http://host/path
+# ./vbash http://host/path
#
# Limitations:
# This only works on Linux and was only tested on goobuntu.
@@ -117,14 +117,14 @@
}
main() {
- if [[ ! -z "${VSH_INDICATOR}" ]]; then
- echo "Disallowing running VSH within VSH."
+ if [[ ! -z "${VBASH_INDICATOR}" ]]; then
+ echo "Disallowing running VBASH within VBASH."
echo "https://memegen.googleplex.com/5551020600983552"
exit 1
fi
- export VSH_INDICATOR="1"
+ export VBASH_INDICATOR="1"
- local -r INSTALL_DIR="${HOME}/.vsh"
+ local -r INSTALL_DIR="${HOME}/.vbash"
if [[ ! -e "${INSTALL_DIR}" ]]; then
mkdir -m 700 "${INSTALL_DIR}"
fi