File: udev.bug-script

package info (click to toggle)
systemd 241-7~deb10u8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 59,140 kB
  • sloc: ansic: 355,293; xml: 59,096; python: 21,623; sh: 6,686; perl: 1,649; makefile: 265; awk: 90; lisp: 13; sed: 1
file content (14 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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