+ shift
+
+ # Sleep for $sleep seconds, to give
+ # the modem a moment to initialize itself.
+ local sleep=1
+
+ while [ $# -gt 0 ]; do
+ case "${1}" in
+ --sleep=*)
+ sleep="$(cli_get_val "${1}")"
+ ;;
+ *)
+ warning "Unrecognized argument: ${1}"
+ ;;
+ esac
+ shift
+ done
+ assert isinteger sleep