modemmanager: install common utils in /usr/share/ModemManager

The modemmanager.common file includes several utility functions that
are used in several places like the protocol handler and in hotplug
scripts. These utilities should not be installed in /etc as they're
not configuration.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
This commit is contained in:
Aleksander Morgado
2019-11-27 09:24:07 +01:00
parent ecad39fd60
commit 5f11888b12
5 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
[ -z "${INTERFACE}" ] || exit
# Load common utilities
. /etc/modemmanager/modemmanager.common
. /usr/share/ModemManager/modemmanager.common
mm_clear_modem_wait_status "/sys${DEVPATH}"
mm_cleanup_interface_by_sysfspath "/sys${DEVPATH}"