From c840ee5e1223934299a05798ae64cdbe10a07157 Mon Sep 17 00:00:00 2001 From: Amir Shehata Date: Tue, 4 Nov 2014 13:14:39 -0800 Subject: [PATCH] LU-5861 lnet: invoke lnetctl properly from startup script Use the correct lnetctl command syntax to load default config: lnetctl import < lnet.conf Signed-off-by: Amir Shehata Change-Id: I54dd0d34f75b91c1c6ceb9745d817cb43f82ef25 Reviewed-on: http://review.whamcloud.com/12561 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Doug Oucharek Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- lustre/scripts/lnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/scripts/lnet b/lustre/scripts/lnet index a98df4b..1a9d467 100644 --- a/lustre/scripts/lnet +++ b/lustre/scripts/lnet @@ -134,7 +134,7 @@ case "$1" in # utility for parsing. This will configure the items defined # in YAML format in the config file. if [ -f $LUSTRE_LNET_CONFIG_UTILITY ] && [ -f "$LUSTRE_LNET_CONFIG_FILE" ]; then - $LUSTRE_LNET_CONFIG_UTILITY $LUSTRE_LNET_CONFIG_FILE + $LUSTRE_LNET_CONFIG_UTILITY import < $LUSTRE_LNET_CONFIG_FILE fi run_postexec_check "start" ;; -- 1.8.3.1