From: dyoung@redhat.com Date: Thu, 11 Oct 2012 08:07:58 +0000 (+0800) Subject: ssh-client: remove ctty related check X-Git-Tag: 024~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc9bc6f8db543879994d0a39a01a0622726f9f3a;p=platform%2Fupstream%2Fdracut.git ssh-client: remove ctty related check cttyhack was removed and ctty is supported by default, so no need to check it in ssh-client module any more. Signed-off-by: Dave Young --- diff --git a/modules.d/95ssh-client/module-setup.sh b/modules.d/95ssh-client/module-setup.sh index 5a38f8f..536c8d0 100755 --- a/modules.d/95ssh-client/module-setup.sh +++ b/modules.d/95ssh-client/module-setup.sh @@ -15,9 +15,6 @@ check() { derror "ssh key: $sshkey is not found!" return 1 } - [[ ! $cttyhack = yes ]] && { - dinfo "--ctty is not used, you should make sure the machine is a knownhost and copy the sshkey to remote machine!" - } fi return 255 @@ -50,11 +47,6 @@ inst_sshenv() } install() { - [[ ! $cttyhack = yes && ! $sshkey ]] && { - derror "ssh-client needs option --ctty or --sshkey!" - return 1 - } - dracut_install ssh scp inst_sshenv }