On Sat, Nov 15, 2014 at 7:00 PM, Cameron Norman
<camerontnor...@gmail.com> wrote:
> On Sat, Nov 15, 2014 at 6:45 PM, Cameron Norman
> <camerontnor...@gmail.com> wrote:
>> Hello,
>>
>> I have attached a patch which addresses this issue. Please include it
>> quickly so that this bug can be fixed.
>
> I apologize, this patch was not easily applied. I have attached a new
> one that can be applied by simply running `patch debian/ekeyd.postrm
> <ekeyd-udev-reload.2.patch` in the source directory.

Darn it forgot to attach.

--
Cameron Norman
diff --git a/debian/ekeyd.postrm b/debian/ekeyd.postrm
index 484db5c..4efc368 100644
--- a/debian/ekeyd.postrm
+++ b/debian/ekeyd.postrm
@@ -1,9 +1,5 @@
 #!/bin/sh -e
 
-if test -x /sbin/udevcontrol; then
-    udevcontrol --reload_rules 2>/dev/null || udevcontrol reload_rules 2>/dev/null
-elif test -x /sbin/udevadm; then
-    udevadm control --reload-rules 2>/dev/null || udevadm control --reload_rules 2>/dev/null
-fi
+invoke-rc.d --quiet udev reload || true
 
 #DEBHELPER#

Reply via email to