/usr/lib/plainbox-providers-1/checkbox/jobs/floppy.txt is in plainbox-provider-checkbox 0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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
|