File: alsa-source.bug.script

package info (click to toggle)
alsa-driver 1.0.23%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,448 kB
  • ctags: 77,491
  • sloc: ansic: 473,525; sh: 3,307; makefile: 2,661; python: 1,527; perl: 1,316; awk: 66
file content (27 lines) | stat: -rwxr-xr-x 857 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

exec 1>&3 2>&3

# As of reportbug 3.14 package status information can be added by putting
# a "package-status: <package-name>" line in the bug control file.
# Unfortunately, reportbug << 3.14 crashes if it finds multiple
# fields in the control file.  We don't want to Conflict with
# reportbug << 3.14 if we can avoid it so we use a method of appending
# package info that works with all current versions of reportbug.
# We can switch to the package-status: method after etch is released.
echo "--- Begin additional package status ---"
dpkg -l alsa-base libasound2
echo "--- End additional package status ---"

for F in version cards ; do
	P="/proc/asound/$F"
	if [ -r "$P" ] ; then
		echo "--- Begin $P ---"
		cat "$P"
		echo "--- End $P ---"
	fi
done

echo "--- Begin /dev/snd/ listing ---"
ls -l /dev/snd
echo "--- End /dev/snd/ listing ---"