From e208199cca7210e4aa2ca1427edf9b3efe2ae2c3 Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 10 Oct 2021 10:34:17 +0800 Subject: [PATCH] Optimization for LiveCDGUI --- LiveCDGUI/VTOY/autostart | 1 + LiveCDGUI/initrd.sh | 3 +-- LiveCDGUI/livecd.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LiveCDGUI/VTOY/autostart b/LiveCDGUI/VTOY/autostart index 7a4fbd22..2a98b9ce 100644 --- a/LiveCDGUI/VTOY/autostart +++ b/LiveCDGUI/VTOY/autostart @@ -11,3 +11,4 @@ echo "ShowAllDevice=0" >> $INIFILE /ventoy/tool/x86_64/Ventoy2Disk.gtk3 --kiosk +reboot diff --git a/LiveCDGUI/initrd.sh b/LiveCDGUI/initrd.sh index 1133bd03..4298a18b 100644 --- a/LiveCDGUI/initrd.sh +++ b/LiveCDGUI/initrd.sh @@ -24,8 +24,7 @@ xzcat ../EXT/initrd.xz | cpio -idmu --quiet >/dev/null 2>&1 cp -a ../EXT/*.xzm ./ cp -a ../VTOY ./ chown -R 0:0 ./VTOY -chmod +x ./VTOY/init -chmod +x ./VTOY/autostart +chmod -R 777 ./VTOY mkdir ventoy diff --git a/LiveCDGUI/livecd.sh b/LiveCDGUI/livecd.sh index 1aae4a84..326839dd 100644 --- a/LiveCDGUI/livecd.sh +++ b/LiveCDGUI/livecd.sh @@ -25,7 +25,7 @@ if [ "$1" = "CI" ]; then fi if [ ! -f ./EXT/vmlinuz ]; then - echo "Please download EXT files first!" + echo "Please download EXT files firstly!" exit 1 fi