]> err.no Git - systemd/commitdiff
rules: sound - do not use /usr/bin/env
authorMarco d'Itri <md@linux.it>
Tue, 1 Sep 2009 10:04:26 +0000 (12:04 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 1 Sep 2009 10:05:47 +0000 (12:05 +0200)
The C version of path_id does not look at the environment anymore, so
there is no reason to empty it.

rules/rules.d/78-sound-card.rules

index f851b46e004706898a8bcdaeb5aa08a3980dece5..1a9cea2b72f3b1d301083eff193fb53fa1deba61 100644 (file)
@@ -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