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:
parent
b6c374c34b
commit
378601a77e
5
3rdparty/mmu_man/scripts/HardwareChecker.sh
vendored
5
3rdparty/mmu_man/scripts/HardwareChecker.sh
vendored
@ -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>"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user