Package: system-config-printer-udev
Severity: wishlist

I have attached a patch with a simple, four line Upstart job that performs the same action as the udev rule + systemd service.

I would be very appreciative if this was included in the next upload of your package.

Best Regards,
--
Cameron Norman
Index: debian/rules
===================================================================
--- debian/rules	(revisión: 41347)
+++ debian/rules	(copia de trabajo)
@@ -28,3 +28,6 @@
 
 cleanbuilddir/python-cupshelpers::
 	rm -rf cupshelpers/debug.py cupshelpers/smburi.py
+
+override_dh_installinit:
+	dh_installinit --name=configure-printer
Index: debian/system-config-printer-udev.configure-printer.upstart
===================================================================
--- debian/system-config-printer-udev.configure-printer.upstart	(revisión: 0)
+++ debian/system-config-printer-udev.configure-printer.upstart	(copia de trabajo)
@@ -0,0 +1,9 @@
+description "configure-printer - use udev to configure printers that are added"
+
+start on usb-device-added ID_USB_INTERFACES="*:0701??:*"
+
+instance $SUBSYSTEM-$BUSNUM-$DEVNUM
+
+task
+
+exec /lib/udev/udev-configure-printer add $UPSTART_INSTANCE

Reply via email to