mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Missing 'get'
This commit is contained in:
parent
68906a1e98
commit
7b6bf6f4b8
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ do_pre_regen() {
|
|||
|| sed -i "s/ListenAddress ::/#ListenAddress ::/g" sshd_config
|
||||
|
||||
# Add DSA HostKey to let user remove it with migration 7
|
||||
if [[ "$(yunohost settings 'service.ssh._deprecated_dsa_hostkey')" == "True" ]]; then
|
||||
if [[ "$(yunohost settings get 'service.ssh._deprecated_dsa_hostkey')" == "True" ]]; then
|
||||
sed -i '/HostKey \/etc\/ssh\/ssh_host_rsa_key/a HostKey /etc/ssh/ssh_host_dsa_key' sshd_config
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue