From 227423e2496609cc51d7f2b3aa096703b469719c Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 20 Nov 2021 05:29:14 +0300 Subject: [PATCH] fixed bootconfig ro --- scripts/kvmd-bootconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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