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');