mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Allow AT command without debug flag on ModemManager
This commit is contained in:
parent
08e8f2ce44
commit
5274b22d63
2 changed files with 2 additions and 3 deletions
|
@ -23,7 +23,7 @@ config MODEMMANAGER_WITH_QRTR
|
|||
|
||||
config MODEMMANAGER_WITH_AT_COMMAND_VIA_DBUS
|
||||
bool "Allow AT commands via DBus"
|
||||
default n
|
||||
default y
|
||||
help
|
||||
Compile ModemManager allowing AT commands without debug flag
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ start_service() {
|
|||
procd_open_instance "service"
|
||||
procd_set_param command /usr/sbin/ModemManager-wrapper
|
||||
procd_append_param command --log-level="$LOG_LEVEL"
|
||||
#[ "$LOG_LEVEL" = "DEBUG" ] && procd_append_param command --debug
|
||||
procd_append_param command --debug
|
||||
[ "$LOG_LEVEL" = "DEBUG" ] && procd_append_param command --debug
|
||||
procd_set_param respawn "${respawn_threshold:-3600}" "${respawn_timeout:-5}" "${respawn_retry:-5}"
|
||||
procd_set_param pidfile "${MODEMMANAGER_PID_FILE}"
|
||||
procd_close_instance
|
||||
|
|
Loading…
Reference in a new issue