PHP 7.4.33
Preview: script Size: 468 B
//usr/share/bug/udev/script
#!/bin/sh

# We don’t clean up this directory because there is no way to know when
# reportbug finished running, and reportbug needs the files around.
# Given that those are just a couple of kilobytes in size and people
# generally don’t file a lot of bugs, I don’t think it’s a big deal.
DIR=$(mktemp -d)

echo "-- BEGIN ATTACHMENTS --" >&3

udevadm info --export-db >$DIR/udev-database.txt
echo "$DIR/udev-database.txt" >&3

echo "-- END ATTACHMENTS --" >&3

Directory Contents

Dirs: 0 × Files: 2
Name Size Perms Modified Actions
24 B lrw-r--r-- 2025-08-26 14:39:20
Edit Download
468 B lrwxr-xr-x 2025-08-26 15:23:06
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).