mirror of
https://github.com/linux-msm/rmtfs.git
synced 2025-12-24 05:56:39 +01:00
rmtfs.service: Fix start/stop ordering between rmtfs and NetworkManager
Since rmtfs typically provides resources for wireless and modem-related processors, it's important to ensure that this service starts before and stops after NetworkManager. On platforms like QCOM RB1, this sequencing prevents the Wi-Fi interface(s) from being left in a dangling state while NetworkManager attempts to tear down the interface(s): https://github.com/qualcomm-linux/qcom-deb-images/issues/40#issuecomment-2944265370 The 'Before' dependency directive is ignored if NetworkManager is disabled or absent. Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Qualcomm remotefs service
|
||||
Before=NetworkManager.service
|
||||
|
||||
[Service]
|
||||
ExecStart=RMTFS_PATH/rmtfs -s -o RMTFS_EFS_PATH
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Qualcomm remotefs service
|
||||
Before=NetworkManager.service
|
||||
|
||||
[Service]
|
||||
ExecStart=RMTFS_PATH/rmtfs -r -P -s
|
||||
|
||||
Reference in New Issue
Block a user