]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/ventoy-hook-lib.sh
1. Boot menu over serial supported
[Ventoy.git] / IMG / cpio / ventoy / hook / ventoy-hook-lib.sh
index c656c6fe31c0c0e23538c35e3a6fe4e596482c34..2da5f07999b1ea960c5fbda61bfe28b3b0aefe5f 100644 (file)
@@ -475,7 +475,7 @@ ventoy_udev_disk_common_hook() {
 
 
 is_inotify_ventoy_part() {
-    if echo $1 | grep -q "2$"; then
+    if echo $1 | $GREP -q "2$"; then
         if ! [ -e /sys/block/$1 ]; then
             if [ -e /sys/class/block/$1 ]; then
                 if [ -e /dev/${1:0:-1} ]; then