🎨 fix indent style

This commit is contained in:
DrMaxNix 2024-06-20 22:25:23 +02:00
parent 680018d9fd
commit cb3906c5fa

View File

@ -7,11 +7,11 @@ chmod 700 /host_keys
# check whether they exist
if [[ ! -f /host_keys/ssh_host_rsa_key || ! -f /host_keys/ssh_host_ecdsa_key || ! -f /host_keys/ssh_host_ed25519_key || ! -f /host_keys/ssh_host_rsa_key.pub || ! -f /host_keys/ssh_host_ecdsa_key.pub || ! -f /host_keys/ssh_host_ed25519_key.pub ]]; then
# create new keys
mkdir -p /host_keys/etc/ssh
ssh-keygen -A -f /host_keys
mv /host_keys/etc/ssh/* /host_keys/
rmdir /host_keys/etc/ssh
# create new keys
mkdir -p /host_keys/etc/ssh
ssh-keygen -A -f /host_keys
mv /host_keys/etc/ssh/* /host_keys/
rmdir /host_keys/etc/ssh
fi