Skip to content

Commit

Permalink
setup: handle bookwork config.txt
Browse files Browse the repository at this point in the history
Bookworm config.txt includes a cm5 specific entry that matched
the search pattern for the dwc2 overlay, so setup wouldn't add
it if needed.
  • Loading branch information
marcone committed Aug 27, 2024
1 parent 3651194 commit 7a08220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/pi/setup-teslausb
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ done
# Update config.txt if needed
if [ -f "$PICONFIG_PATH" ]
then
if ! grep -q 'dtoverlay=dwc2' "$PICONFIG_PATH"
if ! grep -q 'dtoverlay=dwc2$' "$PICONFIG_PATH"
then
echo -e "dtoverlay=dwc2\n" >> "$PICONFIG_PATH"
setup_progress "rebooting to apply dwc2 overlay change"
Expand Down

0 comments on commit 7a08220

Please sign in to comment.