diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-08-26 21:38:18 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-26 21:38:18 +0200 |
commit | 8f847bb8455f7db8f26893b167fbf8a09cf8f41b (patch) | |
tree | 564a15a2896b7162267795053ae83d0b6127ddad /udev_db.c | |
parent | c4ef16f92c56d2f4d8990625212fd27c805425cb (diff) |
store ENV{key}="value" exported keys in the database
Just like the IMPORT values are stored in the udev database the
exported keys are stored in the udev database. The database is also
imported on a remove event before the rules are matched. So it
is possible to do:
ACTION=="add", KERNEL=="sda", ENV{MY_DEVICE}="1234", RUN+="/bin/logger add $devpath"
ACTION=="remove", ENV{MY_DEVICE}=="1234", RUN+="/bin/logger remove $devpath"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_db.c')
0 files changed, 0 insertions, 0 deletions