- TITLE_LINE=$($GREP -m1 '^hw-detect.*detect_progress_title' "$CD_DETECT")
- if [ $? -eq 0 ]; then
- echo "add $TITLE_LINE for hook" >> $VTLOG
- $SED "1 a$TITLE_LINE" -i "$CD_DETECT"
+
+ if [ -e /bin/list-devices ]; then
+ mv /bin/list-devices /bin/list-devices-bk
+ cp -a /ventoy/hook/debian/list-devices /bin/list-devices