mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
fixed bootconfig ro
This commit is contained in:
parent
308e5c1779
commit
227423e249
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user