|
|
@ -1,5 +1,5 @@ |
|
|
|
#!/bin/sh - |
|
|
|
# $OpenBSD: MAKEDEV,v 1.28 1997/09/16 06:00:49 deraadt Exp $ |
|
|
|
# $OpenBSD: MAKEDEV,v 1.29 1997/12/08 21:27:34 mickey Exp $ |
|
|
|
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
@ -336,7 +336,7 @@ ch*) |
|
|
|
ch*) name=ch; chr=14;; |
|
|
|
esac |
|
|
|
rm -f $name$unit |
|
|
|
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` |
|
|
|
mknod ${name}${unit} c $chr $unit |
|
|
|
chown root.operator ${name}${unit} |
|
|
|
chmod 640 ${name}${unit} |
|
|
|
umask 77 |
|
|
|