Skip to content
Snippets Groups Projects
Verified Commit 12275f15 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

sbin/reform-hw-setup: use find instead of ls (which outputs escaped content for non-ascii chars)

parent d405f82f
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ init_qca9377_wifi() {
fi
# Find other potential qcacld2 drivers
potential_drivers=$(ls /opt/reform-qcacld2/qcacld2-*.ko | sort -Vr)
potential_drivers=$(find /opt/reform-qcacld2/qcacld2-*.ko -maxdepth 1 -type f -print0 | sort -Vzr)
# Try to load available drivers, starting with the highest version number, until one works
for driver in $potential_drivers; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment