Skip to content

Commit 5b214f6

Browse files
author
Loic Poulain
committed
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): qualcomm-linux/qcom-deb-images#40 (comment) The 'Before' dependency directive is ignored if NetworkManager is disabled or absent. Signed-off-by: Loic Poulain <[email protected]>
1 parent b61c22b commit 5b214f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

rmtfs-dir.service.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[Unit]
22
Description=Qualcomm remotefs service
3+
Before=NetworkManager.service
34

45
[Service]
56
ExecStart=RMTFS_PATH/rmtfs -s -o RMTFS_EFS_PATH

rmtfs.service.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[Unit]
22
Description=Qualcomm remotefs service
3+
Before=NetworkManager.service
34

45
[Service]
56
ExecStart=RMTFS_PATH/rmtfs -r -P -s

0 commit comments

Comments
 (0)