1 Jun
2009
1 Jun
'09
2:28 p.m.
On Sun, 31.05.09 22:36, Ozan Çağlayan (ozan@pardus.org.tr) wrote:
This is a working but not a clean/good patch for doing that because I'm not very good at shell scripting but I'm posting it just to give a possible idea.
dmidecode should be run as root because it reads /dev/mem. If alsa-info is run as root, providing at least the system-manufacturer and system-product-name in the output will be very useful for distro maintainers.
Please note that this information is exported in sysfs anyway, in /sys/class/dmi/id/*.
It would be much better to read that data from sysfs since it doesn't need a kernel with /dev/mem, or root root priviliges or any other software installed.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4