fixed bootconfig ro

This commit is contained in:
Maxim Devaev 2021-11-20 05:29:14 +03:00
parent 308e5c1779
commit 227423e249

View File

@ -146,12 +146,14 @@ fi
# ========== Finish ==========
rm -f /boot/pikvm.txt
ro
if [ -f /boot/pikvm-reboot.txt ]; then
rm -f /boot/pikvm-reboot.txt
ro
echo "kvmd-bootconfig: Reboot after 5 seconds" | tee /dev/kmsg
sleep 2
reboot
sleep 3
else
ro
fi