From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 01 Sep 2009 03:21:09 +0000 Subject: do not use /usr/bin/env Message-Id: <20090901032109.GA31993@bongo.bofh.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" List-Id: To: linux-hotplug@vger.kernel.org --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The C version of path_id does not look at the environment anymore, so there is no reason to empty it. -- ciao, Marco --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=path_id_no_env --- 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 --cNdxnHkX5QqsyA0e--