From: Harald Hoyer Date: Mon, 12 Jan 2015 13:20:42 +0000 (+0100) Subject: ssh-client: s/key/$key X-Git-Tag: 041~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ba44e899cbc58e7cee0ff66c8ac4a96f502b972;p=thirdparty%2Fdracut.git ssh-client: s/key/$key GlobalKnownHostsFile was not installed, because key was not $key Thanks Jan Stodola! --- diff --git a/modules.d/95ssh-client/module-setup.sh b/modules.d/95ssh-client/module-setup.sh index 36bfbc897..d5c8bfac6 100755 --- a/modules.d/95ssh-client/module-setup.sh +++ b/modules.d/95ssh-client/module-setup.sh @@ -45,7 +45,7 @@ inst_sshenv() inst_simple /etc/ssh/ssh_config sed -i -e 's/\(^[[:space:]]*\)ProxyCommand/\1# ProxyCommand/' ${initdir}/etc/ssh/ssh_config while read key val; do - [[ key != "GlobalKnownHostsFile" ]] && continue + [[ $key != "GlobalKnownHostsFile" ]] && continue inst_simple "$val" break done < /etc/ssh/ssh_config