diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-03-26 00:57:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-03-26 00:57:47 +0000 |
commit | b7170d15e2e67afd632f6e3ae2b2fa3d0eb5f819 (patch) | |
tree | d605811d2ed124b3e2fbad10f668ca14f787cbc1 /etc/etc.hp300 | |
parent | a53496eab0929af6cdb93e759642b4357b7f740d (diff) |
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.
Diffstat (limited to 'etc/etc.hp300')
-rw-r--r-- | etc/etc.hp300/MAKEDEV.md | 33 |
1 files changed, 4 insertions, 29 deletions
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 <todd@OpenBSD.org> @@ -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" ;; |