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