]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
Fix the issue that VTOY_LINUX_REMOUNT=1 does not work on some distros (e.g. Pop OS...
[Ventoy.git] / IMG / cpio / ventoy / hook / rhel7 / ventoy-hook.sh
index 852e4136082b6ecf68ca432af9c23c3b52aa111a..613fa767d2fc93f28279778778c956e7931530d2 100644 (file)
@@ -125,6 +125,7 @@ fi
 
 #iso-scan (currently only for Fedora)
 if $GREP -q Fedora /etc/os-release; then
+if /ventoy/tool/vtoydump -a /ventoy/ventoy_os_param; then
     if ventoy_iso_scan_check; then
         echo "iso_scan process ..." >> $VTLOG
         
@@ -139,6 +140,7 @@ if $GREP -q Fedora /etc/os-release; then
 
         exit 0
     fi
+fi    
 fi