Module Name:    src
Committed By:   tsutsui
Date:           Fri May  8 17:18:06 UTC 2009

Modified Files:
        src/distrib/hp300/miniroot: install.md

Log Message:
Make install.md script probe cd(4) devices properly.
Problem reported by doomwarrior on port-hp300.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/hp300/miniroot/install.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/hp300/miniroot/install.md
diff -u src/distrib/hp300/miniroot/install.md:1.13 src/distrib/hp300/miniroot/install.md:1.14
--- src/distrib/hp300/miniroot/install.md:1.13	Wed Apr 30 13:10:48 2008
+++ src/distrib/hp300/miniroot/install.md	Fri May  8 17:18:06 2009
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#	$NetBSD: install.md,v 1.13 2008/04/30 13:10:48 martin Exp $
+#	$NetBSD: install.md,v 1.14 2009/05/08 17:18:06 tsutsui Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -75,7 +75,7 @@
 
 md_get_cddevs() {
 	# return available CD-ROM devices
-	dmesg | awk -F : '/^cd[0-9]*:.*cdrom/ { print $1; }' | sort -u
+	dmesg | awk -F : '/^cd[0-9]*:/ { print $1; }' | sort -u
 }
 
 md_get_ifdevs() {

Reply via email to