From f667bf4c11d0d43e03f2dab8504afa24b879af3d Mon Sep 17 00:00:00 2001 From: miod <> Date: Tue, 26 Mar 2002 00:57:46 +0000 Subject: [PATCH] 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. --- src/etc/etc.hp300/MAKEDEV.md | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/src/etc/etc.hp300/MAKEDEV.md b/src/etc/etc.hp300/MAKEDEV.md index 5f1df937..553d7648 100644 --- a/src/etc/etc.hp300/MAKEDEV.md +++ b/src/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" ;;