modemmanager: add ModemManager to packages

Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
This commit is contained in:
Nicholas Smith
2019-09-27 11:26:51 +10:00
parent af16743801
commit 180fb0d622
8 changed files with 994 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/bin/sh
# Copyright (C) 2016 Velocloud Inc
# Copyright (C) 2016 Aleksander Morgado <aleksander@aleksander.es>
# Load hotplug common utilities
. /etc/modemmanager/modemmanager.common
# We require a device name
[ -n "$DEVNAME" ] || exit
# Always make sure the rundir exists
mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"
# Report TTY
mm_log "${ACTION} serial interface ${DEVNAME}: event processed"
mm_report_event "${ACTION}" "${DEVNAME}" "tty" "/sys${DEVPATH}"