mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
c551f1d239
fix shebangs old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
19 lines
511 B
Bash
Executable File
19 lines
511 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
#nmcli connection modify --temporary lte gsm.home-only yes
|
|
#nmcli connection modify --temporary lte gsm.auto-config yes
|
|
#nmcli connection modify --temporary lte connection.autoconnect-retries 20
|
|
sudo nmcli connection reload
|
|
|
|
sudo systemctl stop ModemManager
|
|
nmcli con down lte
|
|
nmcli con down blue-prime
|
|
|
|
# power cycle modem
|
|
/usr/comma/lte/lte.sh stop_blocking
|
|
/usr/comma/lte/lte.sh start
|
|
|
|
sudo systemctl restart NetworkManager
|
|
#sudo systemctl restart ModemManager
|
|
sudo ModemManager --debug
|