Hi!
If I write in the my custom addon file run.sh
:
mmcli -L
echo "Finish"
I get in the log:
error: couldn't find the ModemManager process in the bus
Finish
Ok, I need to start ModemManager. Updated run.sh
:
ModemManager &
mmcli -L
echo "Finish"
And the log stops on the information from the starting ModemManager, the remaining code is not executed.
How to run ModemManager as a daemon and to continue execution? The systemctl
is also unavailable and I cannot it to install - RUN apk add systemd
in Dockerfile
causes an error The command '/bin/ash -o pipefail -c apk add systemd' returned a non-zero code: 1