Browse Source

make the wscons device nodes, wscons0 did not exist.

OPENBSD_2_9
drahn 24 years ago
parent
commit
c3e2952bdf
1 changed files with 16 additions and 6 deletions
  1. +16
    -6
      src/etc/etc.powerpc/MAKEDEV

+ 16
- 6
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.38 2001/02/05 01:42:49 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.39 2001/02/13 14:21:33 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -158,7 +158,7 @@ all)
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this tun0 tun1 tun2 tun3
sh $this random uk0 uk1 ss0 ss1
sh $this wscons0
sh $this wscons
sh $this lkm xfs0
sh $this usbs
sh $this local
@ -171,7 +171,7 @@ ramdisk)
sh $this rd0
sh $this random
sh $this tty00 tty01 pty0
sh $this wscons0
sh $this wscons
;;
std)
@ -568,9 +568,11 @@ ss*)
rm -f scan$unit
ln -s ss$unit scan$unit
;;
wscons*)
unit=${i##*[a-z]}
sh $this ttyC${unit} wskbd${unit} wsmouse${unit}
wscons)
sh $this wskbd0 wskbd1 wskbd2 wskbd3
sh $this wsmouse0 wsmouse1 wsmouse2 wsmouse3
sh $this ttyCcfg
sh $this wsmux
;;
wskbd*)
unit=${i##*[a-z]}
@ -589,6 +591,14 @@ wsmouse*)
chown root.wheel wsmouse${unit}
;;
wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 69 0
mknod wskbd c 69 1
chown root.wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
xfs*)
rm -f xfs$unit
mknod xfs$unit c 51 $unit


Loading…
Cancel
Save