From b7170d15e2e67afd632f6e3ae2b2fa3d0eb5f819 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 26 Mar 2002 00:57:47 +0000 Subject: Always create the hp-ux compatibility hil devices with the same numbers, rather than probing the current system to find them. This is bad, but not as worse as depending on hilinfo for proper operation. --- etc/etc.hp300/MAKEDEV.md | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'etc') diff --git a/etc/etc.hp300/MAKEDEV.md b/etc/etc.hp300/MAKEDEV.md index 5f1df937bf3..553d764879d 100644 --- a/etc/etc.hp300/MAKEDEV.md +++ b/etc/etc.hp300/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.4 2002/02/14 13:29:20 todd Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.5 2002/03/26 00:57:46 miod Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001 Todd T. Fries @@ -161,33 +161,8 @@ hil*) for U in 0 1 2 3 4 5 6 7 do M hil$U c 14 $U - if [ -f /usr/sbin/hilinfo ] - then - case `/usr/sbin/hilinfo -t hil$U` in - mouse) - if [ ! -f locator ] - then - MKlist="$MKlist;ln hil$U locator" - RMlist="$RMlist locator" - fi - ;; - keyboard) - if [ ! -f keyboard ] - then - MKlist="$MKlist;ln hil$U keyboard" - RMlist="$RMlist keyboard" - fi - ;; - *) - ;; - esac - fi done - if [ ! -f /usr/sbin/hilinfo ] - then - MKlist="$MKlist;ln hil1 keyboard" - MKlist="$MKlist;ln hil3 locator" - RMlist="$RMlist keyboard locator" - fi -# echo "hil: use MAKEDEV.hpux to make HP-UX names for devices" + MKlist="$MKlist;ln hil1 keyboard" + MKlist="$MKlist;ln hil3 locator" + RMlist="$RMlist keyboard locator" ;; -- cgit v1.2.3