Add wsmux0 and wsmux1.

This commit is contained in:
takemura 2000-03-12 13:58:14 +00:00
parent dc7c050b3b
commit 028706d573
1 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.10 2000/03/11 07:45:31 shin Exp $
# $NetBSD: MAKEDEV,v 1.11 2000/03/12 13:58:14 takemura Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -215,6 +215,7 @@ wscons)
sh $0 wsmouse0 wsmouse1 wsmouse2 wsmouse3
sh $0 wskbd0 wskbd1 wskbd2 wskbd3
sh $0 ttyEcfg
sh $0 wsmux0 wsmux1
;;
ttyEcfg)
@ -252,6 +253,16 @@ wskbd*)
chmod 600 $wskbd
;;
wsmux*)
unit=${i#wsmux}
wsmux=wsmux$unit
major=38
rm -f $wsmux
mknod $wsmux c $major $unit
chown root.wheel $wsmux
chmod 600 $wsmux
;;
fd)
rm -f fd/*
mkdir fd > /dev/null 2>&1