diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 1999-02-05 08:25:05 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 1999-02-05 08:25:05 +0000 |
| commit | 68d63d2cd86ab3886a67c53cb6b7c5303e1735bb (patch) | |
| tree | 5ec1751f864285cb36e4071e84c497e4c7dcb96c | |
| parent | fbeb78d8495768081707aea29b3f53359af43ac2 (diff) | |
Notes
| -rw-r--r-- | etc/etc.i386/MAKEDEV | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 3cbb27c3a49a..5457a7b95a2e 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -121,7 +121,7 @@ # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # kbd keyboard devices # -# $Id: MAKEDEV,v 1.182 1999/01/11 00:03:58 n_hibma Exp $ +# $Id: MAKEDEV,v 1.183 1999/01/12 01:31:13 n_hibma Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -614,12 +614,20 @@ sa*) chr=14 case $unit in - 0|1|2|3|4|5|6) + [0-9]|[1-9][0-9]|[1-9][0-9][0-9]) + if [ $unit -gt 15 ]; then + mult=65536 + else + mult=16 + fi + rm -f rsa${unit} nrsa${unit} ersa${unit} rsa${unit}.ctl + mknod rsa${unit}.ctl c $chr `expr $unit '*' $mult + 536870912` for mode in 0 1 2 3 do - mknod rsa${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 0` - mknod nrsa${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 1` - mknod ersa${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 2` + rm -f rsa${unit}.${mode} nrsa${unit}.${mode} ersa${unit}.${mode} + mknod rsa${unit}.${mode} c $chr `expr $unit '*' $mult + $mode '*' 4 + 0` + mknod nrsa${unit}.${mode} c $chr `expr $unit '*' $mult + $mode '*' 4 + 1` + mknod ersa${unit}.${mode} c $chr `expr $unit '*' $mult + $mode '*' 4 + 2` chgrp operator rsa${unit}.${mode}\ nrsa${unit}.${mode} \ ersa${unit}.${mode} |
