[haiku-commits] r43108 - haiku/trunk/3rdparty/mmu_man/scripts

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 2 Nov 2011 14:13:09 +0100 (CET)

Author: mmu_man
Date: 2011-11-02 14:13:08 +0100 (Wed, 02 Nov 2011)
New Revision: 43108
Changeset: https://dev.haiku-os.org/changeset/43108

Modified:
   haiku/trunk/3rdparty/mmu_man/scripts/HardwareChecker.sh
Log:
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.


Modified: haiku/trunk/3rdparty/mmu_man/scripts/HardwareChecker.sh
===================================================================
--- haiku/trunk/3rdparty/mmu_man/scripts/HardwareChecker.sh     2011-11-02 
12:20:52 UTC (rev 43107)
+++ haiku/trunk/3rdparty/mmu_man/scripts/HardwareChecker.sh     2011-11-02 
13:13:08 UTC (rev 43108)
@@ -201,7 +201,10 @@
 
 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>"
 


Other related posts:

  • » [haiku-commits] r43108 - haiku/trunk/3rdparty/mmu_man/scripts - revol