openwrt/package/network
Florian Eckert 4f02bee9bb uqmi: evaluate pin-status output in qmi_setup function
Load the json output from uqmi --get-pin-status command and evaluate the
"pin1_status" value.

The following uqmi "pin1_status" values are evaluated:

- disabled
  Do not verify PIN because SIM verification is disabled on this SIM

- blocked
  Stop qmi_setup because SIM is locked and a PUK is required

- not_verified
  SIM is not yet verified. Do a uqmi --verify-pin1 command if a SIM is
  specified

- verified:
  Do not verify the PIN because this was already done before

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(backported from 4b80bd878d)
2018-12-18 17:22:06 +01:00
..
config gre: make encaplimit support configurable 2018-12-18 17:22:05 +01:00
ipv6 map: drop default encaplimit value 2018-12-18 11:28:13 +01:00
services odhcpd: update to latest git HEAD (FS#1853) 2018-12-18 17:22:05 +01:00
utils uqmi: evaluate pin-status output in qmi_setup function 2018-12-18 17:22:06 +01:00