diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2003-11-23 21:14:33 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:02 -0700 |
commit | c124eafa238b34a2e79100d3eb1fb143b7e8cb8b (patch) | |
tree | 27c73ba42de9958da6125a9c24b6a41ac0e0402f /namedev.h | |
parent | 53dc383ee90b6699b85f2843247389f5adeb8d50 (diff) |
[PATCH] - format char for CALLOUT output
here is a patch for inserting the callout output into NAME=.
ID= supports the usual wildcard to compare with the output.
I've moved all wildcard matching to a function cause this was the third occurrence.
Also attached is the last whitespace cleanup and debug text corrections.
The callout patch depends on the whitespace patch.
CALLOUT, BUS="usb", PROGRAM="/bin/echo -n return", ID="ret*", NAME="webcam-%c-"
results in:
Nov 21 17:33:51 pim udev[20399]: get_major_minor: found major = 81, minor = 0
Nov 21 17:33:51 pim udev[20399]: exec_callout: callout to '/bin/echo -n return'
Nov 21 17:33:51 pim udev[20399]: exec_callout: callout returned 'return'
Nov 21 17:33:51 pim udev[20399]: get_attr: substitute callout output 'return'
Nov 21 17:33:51 pim udev[20399]: udev_add_device: name = webcam-return-
Nov 21 17:33:51 pim udev[20399]: create_node: mknod(/udev/webcam-return-, 020660, 81, 0)
Diffstat (limited to 'namedev.h')
0 files changed, 0 insertions, 0 deletions