commit: dc006e62ffc0861cc6f2c7979d977bf49d2da994
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 10:39:55 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 10:39:55 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=dc006e62
initrd.scripts: start_sshd(): Don't drop to shell when starting dropbear failed
Assuming that user using dosshd don't has physical access, dropping to shell
in case when starting dropbear failed is not a good idea.
User with physical access can always reboot and enable debug mode if
interested in debug shell in this case.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
defaults/initrd.scripts | 1 -
1 file changed, 1 deletion(-)
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index c19701c..33b5199 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -2275,7 +2275,6 @@ start_sshd() {
good_msg "Starting dropbear sshd ..." ${QUIET}
run /usr/sbin/dropbear -p ${GK_SSHD_PORT} -R -P "${GK_SSHD_PIDFILE}"
2>/var/log/dropbear.log
- test_success "Failed to start dropbear"
}
wait_sshd() {