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 ==========
|
# ========== Finish ==========
|
||||||
|
|
||||||
rm -f /boot/pikvm.txt
|
rm -f /boot/pikvm.txt
|
||||||
ro
|
|
||||||
|
|
||||||
if [ -f /boot/pikvm-reboot.txt ]; then
|
if [ -f /boot/pikvm-reboot.txt ]; then
|
||||||
rm -f /boot/pikvm-reboot.txt
|
rm -f /boot/pikvm-reboot.txt
|
||||||
|
ro
|
||||||
echo "kvmd-bootconfig: Reboot after 5 seconds" | tee /dev/kmsg
|
echo "kvmd-bootconfig: Reboot after 5 seconds" | tee /dev/kmsg
|
||||||
sleep 2
|
sleep 2
|
||||||
reboot
|
reboot
|
||||||
sleep 3
|
sleep 3
|
||||||
|
else
|
||||||
|
ro
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user