veyron/tools/mgmt: rename node->device, cl 6 of N (go/vissue/496)
Rename nminstall to dminstall
Change-Id: I4ae51a48981b89f1774b1c0a9f17304a893cf5d8
diff --git a/tools/mgmt/nminstall b/tools/mgmt/dminstall
similarity index 96%
rename from tools/mgmt/nminstall
rename to tools/mgmt/dminstall
index 81fc31e..10ea4fa 100755
--- a/tools/mgmt/nminstall
+++ b/tools/mgmt/dminstall
@@ -16,19 +16,19 @@
# Usage:
#
# # Gets binaries from local repository
-# ./nminstall <install parent dir>
+# ./dminstall <install parent dir>
#
# # Gets binaries from local filesystem
-# ./nminstall <install parent dir> /path/to/binaries
+# ./dminstall <install parent dir> /path/to/binaries
#
# # Gets binaries from HTTP server
-# ./nminstall <install parent dir> http://host/path
+# ./dminstall <install parent dir> http://host/path
set -e
usage() {
echo "usage:"
- echo "./nminstall [--single_user] <install parent dir> [<binary source>] [-- args for device manager...]"
+ echo "./dminstall [--single_user] <install parent dir> [<binary source>] [-- args for device manager...]"
}
readonly BIN_NAMES=(deviced suidhelper agentd)
diff --git a/tools/mgmt/test.sh b/tools/mgmt/test.sh
index c00cd6f..5699c18 100755
--- a/tools/mgmt/test.sh
+++ b/tools/mgmt/test.sh
@@ -18,7 +18,7 @@
NAMESPACE_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/tools/namespace')"
PRINCIPAL_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/tools/principal')"
DEBUG_BIN="$(shell_test::build_go_binary 'veyron.io/veyron/veyron/tools/debug')"
- DMINSTALL_SCRIPT="$(shell::go_package_dir 'veyron.io/veyron/veyron/tools/mgmt')/nminstall"
+ DMINSTALL_SCRIPT="$(shell::go_package_dir 'veyron.io/veyron/veyron/tools/mgmt')/dminstall"
}
# TODO(caprita): Move to shell_tesh.sh
@@ -65,7 +65,7 @@
# Install and start device manager.
shell_test::start_server "${DMINSTALL_SCRIPT}" --single_user $(shell::tmp_dir) \
"${BIN_STAGING_DIR}" -- --veyron.tcp.address=127.0.0.1:0 || shell_test::fail "line ${LINENO} failed to start device manager"
- # Dump nminstall's log, just to provide visibility into its steps.
+ # Dump dminstall's log, just to provide visibility into its steps.
cat "${START_SERVER_LOG_FILE}"
local -r DM_NAME=$(hostname)