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.

16 lines
461 B

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