diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 20:16:50 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 20:17:20 +0200 |
commit | 7e5f64d2622e8818294aa2f69f0523b07093fc61 (patch) | |
tree | dcb5bb82e232e63a85e4db10447ffbf6aeb8d94f /sys-kernel/genkernel | |
parent | sys-kernel/genkernel: Tell user about new MODULEREBUILD option (diff) | |
download | gentoo-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.ebuild | 2 |
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" |