Make sure /dev/mem is published before using dmidecode as the current version doesn't use /dev/misc/mem (pending patch to fix it). This allows to fill in machine vendor and name automatically and more precisely.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43108 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2011-11-02 13:13:08 +00:00
parent b6c374c34b
commit 378601a77e
1 changed files with 4 additions and 1 deletions

View File

@ -201,7 +201,10 @@ check_usb ()
check_dmidecode () {
which dmidecode >/dev/null 2>&1 || return
# make sure /dev/mem is published
ls -l /dev/misc/mem > /dev/null
echo "<h2>DMIdecode output</h2>"
echo "<i>The output of dmidecode gives exact vendor and device identification.</i>"