mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed bootconfig ro
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user