From: Thomas Deutschmann Date: Mon, 15 Jul 2019 18:16:50 +0000 (+0200) Subject: sys-kernel/genkernel: Fix dosshd check X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e5f64d2622e8818294aa2f69f0523b07093fc61;p=gentoo.git sys-kernel/genkernel: Fix dosshd check Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann --- 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"