chiark / gitweb /
remove mknod() logic and rely on 'devtmpfs'
[elogind.git] / extras / v4l_id / 60-persistent-v4l.rules
index edfd8447535782d3b71fc34c8916f748a9ddb050..93c5ee8c276abf363be6e4b6c8fb1789d7ac1d52 100644 (file)
@@ -4,7 +4,7 @@ ACTION=="remove", GOTO="persistent_v4l_end"
 SUBSYSTEM!="video4linux", GOTO="persistent_v4l_end"
 ENV{MAJOR}=="", GOTO="persistent_v4l_end"
 
-IMPORT{program}="v4l_id $tempnode"
+IMPORT{program}="v4l_id $devnode"
 
 SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id"
 KERNEL=="video*", ENV{ID_SERIAL}=="?*", SYMLINK+="v4l/by-id/$env{ID_BUS}-$env{ID_SERIAL}-video-index$attr{index}"