Martin Pitt [2016-04-27  0:40 +0200]:
> Please let's get rid of that. debdiff attached.

*cough*

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u ifplugd-0.28/debian/changelog ifplugd-0.28/debian/changelog
--- ifplugd-0.28/debian/changelog
+++ ifplugd-0.28/debian/changelog
@@ -1,3 +1,12 @@
+ifplugd (0.28-19.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/ifplugd.udev.agent: Drop using the obsolete and udev-private
+    /lib/udev/hotplug.functions and directly call logger.
+    (Closes: #810116)
+
+ -- Martin Pitt <[email protected]>  Wed, 27 Apr 2016 00:34:24 +0200
+
 ifplugd (0.28-19) unstable; urgency=low
 
   * Added interface poll delay < 1sec using the new -T option. (Closes:
diff -u ifplugd-0.28/debian/ifplugd.udev.agent 
ifplugd-0.28/debian/ifplugd.udev.agent
--- ifplugd-0.28/debian/ifplugd.udev.agent
+++ ifplugd-0.28/debian/ifplugd.udev.agent
@@ -1,10 +1,6 @@
 #!/bin/sh
 # udev agent script
 
-HOTPLUGFUNCS=/lib/udev/hotplug.functions
-[ -f $HOTPLUGFUNCS ] || exit 1
-. $HOTPLUGFUNCS
-
 if [ -z "$INTERFACE" ]; then
     mesg Bad invocation: \$INTERFACE is not set
     exit 1
@@ -62,7 +58,7 @@
             # Interface is in hotplug allowed list
             case "$ACTION" in
             add|register)
-                debug_mesg Invoking $DAEMON_NAME for $INTERFACE
+                logger -t ifplugd -p daemon.debug "Invoking $DAEMON_NAME for 
$INTERFACE"
 
                 # check for interface specific arguments
                 IF1=$(echo $INTERFACE | sed "s/-/_/")
@@ -77,7 +73,7 @@
                 exec $DAEMON -i $INTERFACE $A
                 ;;
             remove|unregister)
-                debug_mesg Stopping $DAEMON_NAME for $INTERFACE
+                logger -t ifplugd -p daemon.debug "Stopping $DAEMON_NAME for 
$INTERFACE"
 
                 # kill a running ifplugd daemon
                 exec $DAEMON -k -i $INTERFACE

Attachment: signature.asc
Description: PGP signature

Reply via email to