openssh: when running in installer add service #1750

Tests ok, only oddity that came up is this one...
This commit is contained in:
Franco Fichtner 2017-08-09 07:46:56 +02:00
parent 9e7418c9ac
commit 7145dcb43e

View File

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