This commit is contained in:
2024-02-28 22:49:53 -06:00
parent 52d5407202
commit 5d203d80b5

View File

@@ -378,9 +378,9 @@ if [[ ! -f /root/.ssh/server-root ]]
fi
# restart sshd
systemctl restart ssh
systemctl restart sshd
# lock root
isInFile=$(cat /etc/hostname | grep -c "BackupServer")
if [ $isInFile -eq 0 ]