]> git.proxmox.com Git - systemd.git/commitdiff
Drop logger.agent
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 22 Jan 2015 07:01:00 +0000 (08:01 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 22 Jan 2015 07:01:00 +0000 (08:01 +0100)
It hasn't been called from any udev rule for a long time, and looks obsolete.

debian/changelog
debian/extra/logger.agent [deleted file]
debian/rules

index 2b3a8b2ab83342339ace6e43f97b4a9f497b5297..d7b20080615598ed3be55b2077b15f6205c35272 100644 (file)
@@ -1,3 +1,10 @@
+systemd (218-5) UNRELEASED; urgency=medium
+
+  * Drop logger.agent. It hasn't been called from any udev rule for a long
+    time, and looks obsolete.
+
+ -- Martin Pitt <mpitt@debian.org>  Thu, 22 Jan 2015 08:00:27 +0100
+
 systemd (218-4) experimental; urgency=medium
 
   [ Michael Biebl ]
diff --git a/debian/extra/logger.agent b/debian/extra/logger.agent
deleted file mode 100644 (file)
index 7e68f17..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh -e
-#
-# log the event to a file
-#
-
-cd /lib/udev/
-. ./hotplug.functions
-
-# provide env-like output when the real thing is not available
-if [ ! -x /usr/bin/env ]; then
-    env() {
-        # bash prepends "declare -x " at the beginning of each line
-        export -p | sed -e 's/^\(declare -x\|export\) //'
-    }
-fi
-
-# writes a copy of the current hotplug event to stdout
-log_to_stdout()
-{
-    {
-       echo "HOTPLUG_TIME='$(date)'"
-       env
-       echo ''
-    } | egrep -v "^'$|^(_|PATH|PWD|PPID|SHLVL|HOME|IFS|OPTIND|PS[1234])="
-}
-
-[ "$EVENTS_LOG" ] || EVENTS_LOG='/dev/hotplug.log'
-
-log_to_stdout >> $EVENTS_LOG
-
-exit 0
-
index fccde8c4c64058af1d6edc7bc2e8b6eeae7767f7..27ae1cdb470ebf4066ccfbb5980ebcb95cae9c10 100755 (executable)
@@ -185,7 +185,6 @@ override_dh_install:
                debian/udev/lib/udev/
        install -D --mode=755 \
                debian/extra/dsl-modem.agent \
-               debian/extra/logger.agent \
                debian/extra/net.agent \
                debian/extra/udev-finish \
                debian/extra/write_net_rules \