|
@@ -44,6 +44,8 @@ proto_qmi_setup() {
|
|
return 1
|
|
return 1
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ [ -n "$delay" ] && sleep "$delay"
|
|
|
|
+
|
|
device="$(readlink -f $device)"
|
|
device="$(readlink -f $device)"
|
|
[ -c "$device" ] || {
|
|
[ -c "$device" ] || {
|
|
echo "The specified control device does not exist"
|
|
echo "The specified control device does not exist"
|
|
@@ -62,8 +64,6 @@ proto_qmi_setup() {
|
|
return 1
|
|
return 1
|
|
}
|
|
}
|
|
|
|
|
|
- [ -n "$delay" ] && sleep "$delay"
|
|
|
|
-
|
|
|
|
while uqmi -s -d "$device" --get-pin-status | grep '"UIM uninitialized"' > /dev/null; do
|
|
while uqmi -s -d "$device" --get-pin-status | grep '"UIM uninitialized"' > /dev/null; do
|
|
[ -e "$device" ] || return 1
|
|
[ -e "$device" ] || return 1
|
|
sleep 1;
|
|
sleep 1;
|