mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user