diff options
author | Maxim Devaev <[email protected]> | 2021-11-20 05:29:14 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-11-20 05:29:14 +0300 |
commit | 227423e2496609cc51d7f2b3aa096703b469719c (patch) | |
tree | a3794dd09d29bde1eb40661b0da990afe745d083 /scripts | |
parent | 308e5c1779d569df3a2709085ec111fe9c82b844 (diff) |
fixed bootconfig ro
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvmd-bootconfig | 4 |
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 |