diff --git a/apps/emqx/src/emqx_schema.erl b/apps/emqx/src/emqx_schema.erl
index e9a4385c7..ed3f64d0e 100644
--- a/apps/emqx/src/emqx_schema.erl
+++ b/apps/emqx/src/emqx_schema.erl
@@ -89,7 +89,7 @@ roots(high) ->
sc(map("name", ref("zone")),
#{ desc => "A zone is a set of configs grouped by the zone name. "
"For flexible configuration mapping, the name "
- "can be set to a listener's zone config . "
+ "can be set to a listener's zone config. "
"NOTE: A builtin zone named default is auto created "
"and can not be deleted."
})}
diff --git a/bin/emqx b/bin/emqx
index db3c8a798..6c77afd1b 100755
--- a/bin/emqx
+++ b/bin/emqx
@@ -114,7 +114,7 @@ relx_usage() {
echo " don't make it permanent"
;;
*)
- echo "Usage: $REL_NAME {start|start_boot |ertspath|foreground|stop|pid|ping|console|console_clean|console_boot |attach|remote_console|upgrade|downgrade|install|uninstall|versions|escript|ctl|rpc|rpcterms|eval|cold_eval|root_dir}"
+ echo "Usage: $REL_NAME {start|start_boot |ertspath|foreground|stop|pid|ping|console|console_clean|console_boot |attach|remote_console|upgrade|downgrade|install|uninstall|versions|escript|ctl|rpc|rpcterms|eval|root_dir}"
;;
esac
}
@@ -138,7 +138,6 @@ check_user() {
fi
}
-
# Make sure the user running this script is the owner and/or su to that user
check_user "$@"
ES=$?
@@ -355,16 +354,6 @@ case "$1" in
;;
esac
-IS_NO_CONNECTION_COMMAND='no'
-case "$1" in
- cold_eval)
- IS_NO_CONNECTION_COMMAND='yes'
- ;;
- *)
- ;;
-esac
-
-
## Possible ways to configure emqx node name:
## 1. configure node.name in emqx.conf
## 2. override with environment variable EMQX_NODE_NAME
@@ -375,9 +364,6 @@ if [ -z "$NAME" ]; then
if [ "$IS_BOOT_COMMAND" = 'yes' ]; then
# for boot commands, inspect emqx.conf for node name
NAME="$(call_hocon -s $SCHEMA_MOD -c "$RUNNER_ETC_DIR"/emqx.conf get node.name | tr -d \")"
- elif [ "$IS_NO_CONNECTION_COMMAND" = 'yes' ]; then
- # this command requires no connection to the target beam node, do nothing
- :
else
# for non-boot commands, inspect vm.