This commit is contained in:
2024-02-28 22:49:53 -06:00
parent 52d5407202
commit 5d203d80b5
+1 -1
View File
@@ -378,9 +378,9 @@ if [[ ! -f /root/.ssh/server-root ]]
fi fi
# restart sshd # restart sshd
systemctl restart ssh
systemctl restart sshd systemctl restart sshd
# lock root # lock root
isInFile=$(cat /etc/hostname | grep -c "BackupServer") isInFile=$(cat /etc/hostname | grep -c "BackupServer")
if [ $isInFile -eq 0 ] if [ $isInFile -eq 0 ]