From: longpanda Date: Sun, 10 Oct 2021 02:34:17 +0000 (+0800) Subject: Optimization for LiveCDGUI X-Git-Tag: v1.0.54~5 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/e208199cca7210e4aa2ca1427edf9b3efe2ae2c3?ds=sidebyside Optimization for LiveCDGUI --- diff --git a/LiveCDGUI/VTOY/autostart b/LiveCDGUI/VTOY/autostart index 7a4fbd2..2a98b9c 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 1133bd0..4298a18 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 1aae4a8..326839d 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