ModemManager: Difference between revisions
m Minor corrections, such as using "computer code" style instead of backticks (which did not work as expected). |
m Removed information that is accurate only if the other services defined under the section "Unreliable suspend/resume" are enabled. |
||
| Line 20: | Line 20: | ||
serviceConfig = { | serviceConfig = { | ||
Type = "oneshot"; | Type = "oneshot"; | ||
RemainAfterExit = true; # The service won't run again on successive ModemManager activations | RemainAfterExit = true; # The service won't run again on successive ModemManager activations. | ||
ExecStart = "${pkgs.networkmanager}/bin/nmcli radio wwan off"; | ExecStart = "${pkgs.networkmanager}/bin/nmcli radio wwan off"; | ||
}; | }; | ||
};</syntaxhighlight>Note that the state of the cellular connection will be retained | };</syntaxhighlight>Note that the state of the cellular connection will be retained even if <code>ModemManager</code> is restarted (as long as the system has not been rebooted). | ||
== Troubleshooting == | == Troubleshooting == | ||