inc: fix sshd upgrade path

This commit is contained in:
Franco Fichtner 2015-04-04 09:10:26 +02:00
parent 32bb6035ab
commit 4ee0a0a428

View File

@ -3383,8 +3383,8 @@ function upgrade_111_to_112()
$config['system']['ssh']['passwordauth'] = true;
}
if (isset($config['system']['sshdenable'])) {
if (isset($config['system']['enablesshd'])) {
$config['system']['ssh']['enabled'] = true;
unset($config['system']['sshdenable']);
unset($config['system']['enablesshd']);
}
}