implemented sxmo_networkmonitor to monitor when the network goes up/down and execute hooks

This implement a dbus monitor for networkamanger and is useful to
start/stop/restart certain things in user-defined hooks when
connectivity is gained/lost. By default all
it does is ensure the status bar is updated quickly to reflect the
network status.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Maarten van Gompel 2021-06-07 23:31:21 +02:00
parent f28a81a10c
commit 35e39dbb90
2 changed files with 45 additions and 0 deletions

View file

@ -69,6 +69,7 @@ daemons() {
daemonsneedingdbus() {
dunst -conf /usr/share/sxmo/appcfg/dunst.conf &
sxmo_notificationmonitor.sh &
sxmo_networkmonitor.sh &
sxmo_lisgdstart.sh &
}