mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
openssh: when running in installer add service #1750
Tests ok, only oddity that came up is this one...
This commit is contained in:
parent
9e7418c9ac
commit
7145dcb43e
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user