mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +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
|
config MODEMMANAGER_WITH_AT_COMMAND_VIA_DBUS
|
||||||
bool "Allow AT commands via DBus"
|
bool "Allow AT commands via DBus"
|
||||||
default n
|
default y
|
||||||
help
|
help
|
||||||
Compile ModemManager allowing AT commands without debug flag
|
Compile ModemManager allowing AT commands without debug flag
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,7 @@ start_service() {
|
||||||
procd_open_instance "service"
|
procd_open_instance "service"
|
||||||
procd_set_param command /usr/sbin/ModemManager-wrapper
|
procd_set_param command /usr/sbin/ModemManager-wrapper
|
||||||
procd_append_param command --log-level="$LOG_LEVEL"
|
procd_append_param command --log-level="$LOG_LEVEL"
|
||||||
#[ "$LOG_LEVEL" = "DEBUG" ] && procd_append_param command --debug
|
[ "$LOG_LEVEL" = "DEBUG" ] && procd_append_param command --debug
|
||||||
procd_append_param command --debug
|
|
||||||
procd_set_param respawn "${respawn_threshold:-3600}" "${respawn_timeout:-5}" "${respawn_retry:-5}"
|
procd_set_param respawn "${respawn_threshold:-3600}" "${respawn_timeout:-5}" "${respawn_retry:-5}"
|
||||||
procd_set_param pidfile "${MODEMMANAGER_PID_FILE}"
|
procd_set_param pidfile "${MODEMMANAGER_PID_FILE}"
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue