The C Source, Patches and (shudder!) Bugs
Post Reply
0xa5a5
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.
Attachments
0001-change-usb_modeswitch.sh-to-restart-the-modeswitch-s.patch
(1.36 KiB) Downloaded 781 times

jacksey
Posts: 1
Joined: 17 May 2024, 12:05

Re: [PATCH] restart systemd service for modeswitch dispatcher

Post by jacksey » 17 May 2024, 12:06

But for those who enjoy a good scare and a good puzzle, Five Nights at Freddy's offers a unique and unforgettable experience.

Post Reply