1Modify the Makefile to include '$(PREFIX)/bin/systemctl' in the list of paths. 2This makes the udev intgeration work as intended when using systemd. 3 4Signed-off-by: Sol Bekic <s+removethis@s-ol.nu> 5 6diff --git a/Makefile b/Makefile 7index 22bd0e0..72321a4 100755 8--- a/Makefile 9+++ b/Makefile 10@@ -62,7 +62,7 @@ 11 install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher 12 install -d $(DESTDIR)/var/lib/usb_modeswitch 13 test -d $(UPSDIR) -a -e /sbin/initctl && install --mode=644 usb-modeswitch-upstart.conf $(UPSDIR) || test 1 14- test -d $(SYSDIR) -a \( -e /usr/bin/systemctl -o -e /bin/systemctl \) && install --mode=644 usb_modeswitch@.service $(SYSDIR) || test 1 15+ test -d $(SYSDIR) -a \( -e /usr/bin/systemctl -o -e /bin/systemctl -o -e $(PREFIX)/bin/systemctl \) && install --mode=644 usb_modeswitch@.service $(SYSDIR) || test 1 16 17 install: install-script 18 19