summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2009-09-01 12:04:26 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-09-01 12:05:47 +0200
commit069eab7c96532ab32ce62293f88b10aa8fd41a02 (patch)
tree0f3fd7f78baa8d5de520914831e8e98d3f9cd31b
parent1032141bd580b20bfe6c5efe737eb6e3fa595d06 (diff)
rules: sound - do not use /usr/bin/env
The C version of path_id does not look at the environment anymore, so there is no reason to empty it.
-rw-r--r--rules/rules.d/78-sound-card.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/78-sound-card.rules b/rules/rules.d/78-sound-card.rules
index f851b46e00..1a9cea2b72 100644
--- a/rules/rules.d/78-sound-card.rules
+++ b/rules/rules.d/78-sound-card.rules
@@ -51,7 +51,7 @@ LABEL="skip_pci"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", ENV{ID_ID}="$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", ENV{ID_ID}="$env{ID_BUS}-$env{ID_SERIAL}"
-ENV{ID_PATH}=="", IMPORT{program}="/usr/bin/env -i /lib/udev/path_id %p/controlC%n"
+ENV{ID_PATH}=="", IMPORT{program}="path_id %p/controlC%n"
# The values used here for $SOUND_FORM_FACTOR and $SOUND_CLASS should be kept
# in sync with those defined for PulseAudio's src/pulse/proplist.h