1 2 3 4 5 6 7 8 9 10 11 12 13 |
plugin: local name: floppy/check requires: device.driver == 'floppy' _description: Floppy test command: cat <<'EOF' | run_templates -t -s 'udev_resource | filter_templates -w "driver=floppy"' plugin: shell name: floppy/check_`ls /sys$path/driver/*/*/*/block` requires: device.path == "$path" description: Floppy test for $product user: root command: floppy_test /dev/`ls /sys$path/driver/*/*/*/block` EOF |