diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2022-03-23 15:38:51 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2022-04-05 08:14:53 +0000 |
commit | e8612671ef6efcec9342d14506894ff5e5b5ddda (patch) | |
tree | c1bb6dbad6d32e507b9e26b722eb3c7915d7357e /src/meson.build | |
parent | e188a77eded065475cf94bbce9691ba2974b315b (diff) |
dispatcher-connection: new dispatcher for connection status scripts
The user or the packages can install custom dispatcher scripts that
will be run by the ModemManaer daemon itself upon bearer connection
status updates.
Scripts installed by users should go into the
/etc/ModemManager/connection.d directory.
Scripts installed by packages should go into the
/usr/lib/ModemManager/connection.d directory.
The name of the script will specify the order how it's run, so it's
suggested to name them with a numeric prefix, e.g. "99-something".
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build index a26a82e3..fdf6b09c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -201,6 +201,7 @@ sources = files( 'mm-context.c', 'mm-device.c', 'mm-dispatcher.c', + 'mm-dispatcher-connection.c', 'mm-dispatcher-fcc-unlock.c', 'mm-filter.c', 'mm-iface-modem-3gpp.c', @@ -255,6 +256,8 @@ c_args = [ '-DPLUGINDIR="@0@"'.format(mm_prefix / mm_pkglibdir), '-DFCCUNLOCKDIRPACKAGE="@0@"'.format(mm_prefix / mm_pkglibdir / 'fcc-unlock.d'), '-DFCCUNLOCKDIRUSER="@0@"'.format(mm_prefix / mm_pkgsysconfdir / 'fcc-unlock.d'), + '-DCONNECTIONDIRPACKAGE="@0@"'.format(mm_prefix / mm_pkglibdir / 'connection.d'), + '-DCONNECTIONDIRUSER="@0@"'.format(mm_prefix / mm_pkgsysconfdir / 'connection.d'), ] if enable_qrtr |