[systemd-devel] udev rules environment variable
Robert Milasan
rmilasan at suse.com
Mon Dec 16 23:52:14 PST 2013
Hello,
got a small question about creating a rule, like this:
ACTION=="add", ...., ENV{test_device}="1"
ACTION=="remove, ...., ENV{test_device}=="1",
RUN+="/path/to/some/script"
Does udev save test_device variable someplace and then it can be used
later on, when have ACTION=="remove" ?
--
Robert Milasan
L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan at suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A
More information about the systemd-devel
mailing list