From 7e5f64d2622e8818294aa2f69f0523b07093fc61 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 15 Jul 2019 20:16:50 +0200 Subject: [PATCH] sys-kernel/genkernel: Fix dosshd check Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann --- sys-kernel/genkernel/genkernel-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild index 8cab8f829e7b..9c5882386a2f 100644 --- a/sys-kernel/genkernel/genkernel-9999.ebuild +++ b/sys-kernel/genkernel/genkernel-9999.ebuild @@ -212,7 +212,7 @@ pkg_postinst() { local gk_config="${EROOT%/}/etc/genkernel.conf" if [[ -f "${gk_config}" ]] ; then if grep -q -E "^SSH=[\"\']?yes" "${gk_config}" 2>/dev/null ; then - if ! grep -q dosshd "${gk_config}" 2>/dev/null ; then + if ! grep -q dosshd /proc/cmdline 2>/dev/null ; then ewarn "" ewarn "IMPORTANT: SSH is currently enabled in your genkernel config" ewarn "file (${gk_config}). However, 'dosshd' is missing from current" -- 2.26.2