From 7145dcb43ebfda26596bb49adcbe5985369324c3 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 9 Aug 2017 07:46:56 +0200 Subject: [PATCH] openssh: when running in installer add service #1750 Tests ok, only oddity that came up is this one... --- src/etc/inc/plugins.inc.d/openssh.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/inc/plugins.inc.d/openssh.inc b/src/etc/inc/plugins.inc.d/openssh.inc index f360c1248..1d8da2375 100644 --- a/src/etc/inc/plugins.inc.d/openssh.inc +++ b/src/etc/inc/plugins.inc.d/openssh.inc @@ -42,7 +42,8 @@ function openssh_services() $services = array(); - if (isset($config['system']['ssh']['enabled'])) { + if (isset($config['system']['ssh']['enabled']) || + (!isset($config['system']['ssh']) && is_install_media())) { $pconfig = array(); $pconfig['description'] = gettext('Secure Shell Daemon'); $pconfig['configd']['restart'] = array('openssh restart');