mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
add consideration for a8x cellular
Signed-off-by: Sam Heinz <[email protected]>
This commit is contained in:
1 parent
bea86386e7
commit
c77fe0657b
1 file changed
+6
-3
+6
-3
@@ -491,10 +491,13 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
|
||||
done
|
||||
|
||||
echo "[*] Testing for baseband presence"
|
||||
if ["${cpid}" == *"0x7001"*]; then
|
||||
disk = 6
|
||||
elif [ "$("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "false" ] && [ ! "$disk" == 6]; then
|
||||
if [ "$("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "true" ] && [ "${cpid}" == *"0x7001"* ]; then
|
||||
disk = 7
|
||||
else
|
||||
if [ "${cpid}" == *"0x7001"* ]; then
|
||||
disk = 6
|
||||
else
|
||||
disk = 7
|
||||
fi
|
||||
|
||||
"$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "/usr/bin/mount_filesystems"
|
||||
|
||||
Reference in new issue
Block a user