Fixes service shutdown order on device shutdown/reboot. Basically you can't shutdown rmtfs before Wi-Fi is shut down, due to how remote processors are involved in this on qcom platforms. If modem is powered off, all attepts to communicate with Wi-Fi firmware are nonsense and this hangs device on shutdown/reboot or send it to crashdump mode. Openrc sercice already has the correct dependency. Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3936 For more details, see upstream PR: https://github.com/linux-msm/rmtfs/pull/24 We can safely replace the `Before=msm-modem-uim-selection.service` line because msm-modem-uim-selection already has its own deps specified in its own service file. Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6956>
13 lines
230 B
Desktop File
13 lines
230 B
Desktop File
[Unit]
|
|
Description=Qualcomm remotefs service
|
|
Before=NetworkManager.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/rmtfs -r -P -s
|
|
Restart=always
|
|
RestartSec=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
RequiredBy=msm-modem-uim-selection.service
|