]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Optimization for LiveCDGUI
authorlongpanda <admin@ventoy.net>
Sun, 10 Oct 2021 02:34:17 +0000 (10:34 +0800)
committerlongpanda <admin@ventoy.net>
Sun, 10 Oct 2021 02:34:17 +0000 (10:34 +0800)
LiveCDGUI/VTOY/autostart
LiveCDGUI/initrd.sh
LiveCDGUI/livecd.sh

index 7a4fbd22c52975cd76c18c22d1004c801597d6c0..2a98b9cef4decbb555dedd583681a2163a289004 100644 (file)
@@ -11,3 +11,4 @@ echo "ShowAllDevice=0"                          >> $INIFILE
 
 /ventoy/tool/x86_64/Ventoy2Disk.gtk3 --kiosk
 
+reboot
index 1133bd03511afe24d8dd5320f2e91ad27daddead..4298a18bbed19e8c08c3606711270fc509559d35 100644 (file)
@@ -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
index 1aae4a84704ab6346222c514e593622a81e8e243..326839dd97010ea68b50b0f5d76200b9006511c5 100644 (file)
@@ -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