The C Source, Patches and (shudder!) Bugs
Post Reply
Posts: 1
Joined: 08 Jan 2019, 11:30

[PATCH] restart systemd service for modeswitch dispatcher

Post by 0xa5a5 » 08 Jan 2019, 11:52

When disconnecting and reconnecting the USB dongle before usb-modeswitch terminates, the usb-modeswitch@.service unit might not be started for the particular device (because the oneshot service state is still activating). Consequently, the modeswitch would not happen. As a workaround we can restart the service unit instead.
(1.36 KiB) Downloaded 420 times

Post Reply