summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-15 20:16:50 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-15 20:17:20 +0200
commit7e5f64d2622e8818294aa2f69f0523b07093fc61 (patch)
treedcb5bb82e232e63a85e4db10447ffbf6aeb8d94f /sys-kernel/genkernel
parentsys-kernel/genkernel: Tell user about new MODULEREBUILD option (diff)
downloadgentoo-7e5f64d2622e8818294aa2f69f0523b07093fc61.tar.gz
gentoo-7e5f64d2622e8818294aa2f69f0523b07093fc61.tar.bz2
gentoo-7e5f64d2622e8818294aa2f69f0523b07093fc61.zip
sys-kernel/genkernel: Fix dosshd check
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r--sys-kernel/genkernel/genkernel-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
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"