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