Re: udev rule matching using ENV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 26, 2011 at 21:18, william <kc@xxxxxxxxxxxxxx> wrote:
> i am trying to create a udev rule which executes a script whenever a usb
> stick is removed with a particular uuid
>
> So i created 99-remove-usb.rules with the following contents
>
> IMPORT{program}="/usr/local/bin/usb-stick-uuid.sh"
> ACTION=="remove", ENV{ID_FS_UUID}=="ENV{MY_UUID}",

> But it does never match.

ENV{ID_FS_UUID}=="$env{MY_UUID}" ?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux