You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
435 B

  1. #!/bin/sh
  2. # Copyright (C) 2021 Aleksander Morgado <aleksander@aleksander.es>
  3. # Load hotplug common utilities
  4. . /usr/share/ModemManager/modemmanager.common
  5. # We require a device name
  6. [ -n "$DEVNAME" ] || exit
  7. # Always make sure the rundir exists
  8. mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"
  9. # Report wwan
  10. mm_log "${ACTION} wwan control port ${DEVNAME}: event processed"
  11. mm_report_event "${ACTION}" "${DEVNAME}" "wwan" "/sys${DEVPATH}"