Skip to content

Commit

Permalink
Support latest CentOS Stream 8 distro. (ventoy#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Mar 18, 2021
1 parent 291e0a3 commit 33cc1e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ if is_inotify_ventoy_part $3; then
vtRhel8Ver=$($SED "s#.*8\.\([0-9]*\).*#\1#" /etc/system-release)
if [ $vtRhel8Ver -ge 3 ]; then
vtReplaceOpt=""
fi
elif $GREP -q "Stream" /etc/system-release; then
vtReplaceOpt=""
fi
fi

$BUSYBOX_PATH/sh $VTOY_PATH/hook/default/udev_disk_hook.sh $3 $vtReplaceOpt
Expand Down

0 comments on commit 33cc1e2

Please sign in to comment.