X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/7a0b2d945e8c09ef377fbcdad1164ea070e75245..c8e86938feedfcdb089a26cc18d476ead303d50e:/IMG/cpio/ventoy/hook/gentoo/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/hook/gentoo/ventoy-hook.sh b/IMG/cpio/ventoy/hook/gentoo/ventoy-hook.sh index 2a2588b..ce5dbe5 100644 --- a/IMG/cpio/ventoy/hook/gentoo/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/gentoo/ventoy-hook.sh @@ -19,7 +19,7 @@ . $VTOY_PATH/hook/ventoy-os-lib.sh -if [ -d /etc/udev/rules.d ]; then +if [ -d /etc/udev/rules.d ] || [ -d /lib/udev/rules.d ]; then ventoy_systemd_udevd_work_around ventoy_add_udev_rule "$VTOY_PATH/hook/default/udev_disk_hook.sh %k noreplace" else