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
+2 -2
View File
@@ -6,14 +6,14 @@ START=70
stop_service() {
# Load common utils
. /etc/modemmanager/modemmanager.common
. /usr/share/ModemManager/modemmanager.common
# Set all configured interfaces as unavailable
mm_cleanup_interfaces
}
start_service() {
# Load common utils
. /etc/modemmanager/modemmanager.common
. /usr/share/ModemManager/modemmanager.common
# Always make sure the rundir exists
mkdir -m 0755 -p "${MODEMMANAGER_RUNDIR}"