1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add a setting to disable ModemManager

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-09-30 08:11:14 +02:00
parent 6ab53ff26c
commit af59ab5ad5
3 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,7 @@ START=05
LOG_LEVEL="INFO"
start_service() {
[ "$(uci -q get openmptcprouter.settings.disable_modemmanager)" = "1" ] && return
# Setup ModemManager service
#
# We will make sure that the rundir always exists, and we initially cleanup