Browse Source

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.
OPENBSD_3_1
miod 22 years ago
parent
commit
f667bf4c11
1 changed files with 4 additions and 29 deletions
  1. +4
    -29
      src/etc/etc.hp300/MAKEDEV.md

+ 4
- 29
src/etc/etc.hp300/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, 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 etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> 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 for U in 0 1 2 3 4 5 6 7
do do
M hil$U c 14 $U 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 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"
;; ;;

Loading…
Cancel
Save