This commit is contained in:
JerryXiao 2022-12-01 15:56:15 +08:00
parent 5bd769aedb
commit e1c4f3cb4f
Signed by: Jerry
GPG Key ID: 22618F758B5BE2E5
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ mount --move "${OLDROOT}/${WORKDIR}" "${WORKDIR}"
echo "Restarting SSH daemon..."
systemctl daemon-reload
systemctl is-active ssh && systemctl stop ssh || true
systemctl restart sshd
echo "Disabling swap..."