Fix the check media issue for SUSE/openSUSE

This commit is contained in:
longpanda 2021-08-04 11:24:50 +08:00
parent dfcfaa9967
commit c83daa86b6
1 changed files with 4 additions and 0 deletions

View File

@ -36,3 +36,7 @@ else
fi
/ventoy/busybox/sh /ventoy/hook/suse/udev_disk_hook.sh "${vtpart2#/dev/}"
if $GREP -q 'mediacheck=1' /proc/cmdline; then
ventoy_copy_device_mapper "${vtdiskname}"
fi