summaryrefslogtreecommitdiff
path: root/scripts/kvmd-bootconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kvmd-bootconfig')
-rwxr-xr-xscripts/kvmd-bootconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kvmd-bootconfig b/scripts/kvmd-bootconfig
index 8a400405..af47e72b 100755
--- a/scripts/kvmd-bootconfig
+++ b/scripts/kvmd-bootconfig
@@ -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