-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
meshtastic_scripts/lora_hat_setup.sh
Line 31 in 8a15f16
| MODEL=$(grep -o "Raspberry Pi [0-9]" /proc/device-tree/model) |
This command fails because of the null characters returned in this particular file.
Error message: grep: /proc/device-tree/model: binary file matches
Add the -a flag to grep to treat the file as text.
MODEL=$(grep -oa "Raspberry Pi [0-9]" /proc/device-tree/model)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels