#!/sbin/openrc-run

name="UIM Slot selection"
description="Select UIM slot and application on the embedded QMI modem."

depend() {
  need rmtfs
  after msm8909-modem-wwan-port
  before ofono
  before modemmanager
}

start() {
  ebegin "Selecting UIM slot"
  SIM_WAIT_TIME="${sim_wait_time:-4}" timeout 15 /usr/libexec/msm-modem-uim-selection boot >/dev/null 2>&1 || true
  eend 0
}
