diff options
author | Eric Woudstra | 2023-03-21 21:52:14 +0100 |
---|---|---|
committer | Eric Woudstra | 2023-03-21 21:52:14 +0100 |
commit | 141ab98b60b0062849407aaf72c615663e4e0908 (patch) | |
tree | ed7f15a816f581a9e69d0cd3fc86333aa0adf164 | |
parent | 49ab34c0167e5b3781c3e361aa3f7b6954a62e75 (diff) | |
download | aur-141ab98b60b0062849407aaf72c615663e4e0908.tar.gz |
Fix compatible
-rwxr-xr-x | bpir-flash2emmc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpir-flash2emmc b/bpir-flash2emmc index 3dfee43ae523..8622941e9dc4 100755 --- a/bpir-flash2emmc +++ b/bpir-flash2emmc @@ -54,7 +54,7 @@ function restart_driver { driver="mtk-msdc" addr="11230000" -compatible="$(tr -d '\0' 2>/dev/null </proc/device-tree/compatible)" +compatible="$(cat /proc/device-tree/compatible)" if [[ "$compatible" == *"bananapi"*"mediatek,mt7622"* ]]; then # BPI-R64 mmcblk=$(get_mmcblk) |