Create the cuaiA* and cualA* devices.
PR: 5872 Submitted by: Adam Baran <badam@mw.mil.pl>
This commit is contained in:
parent
04ba1a828c
commit
500b5f7033
@ -106,7 +106,7 @@
|
||||
# perfmon CPU performance-monitoring counters
|
||||
# pci PCI configuration-space access from user mode
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.155 1998/02/18 13:54:45 msmith Exp $
|
||||
# $Id: MAKEDEV,v 1.156 1998/02/20 03:59:53 ahasty Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -826,7 +826,9 @@ cuaA*)
|
||||
minor=`expr $port - 1`
|
||||
name=`expr $port + 1000 | cut -c 3-4`
|
||||
mknod cuaA$name c $major `expr $minor + 128`
|
||||
chown uucp.dialer cuaA$name
|
||||
mknod cuaiA$name c $major `expr $minor + 128 + 65536`
|
||||
mknod cualA$name c $major `expr $minor + 128 + 131072`
|
||||
chown uucp.dialer cuaA$name cuaiA$name cualA$name
|
||||
port=`expr $port + 1`
|
||||
done
|
||||
umask 77
|
||||
|
@ -106,7 +106,7 @@
|
||||
# perfmon CPU performance-monitoring counters
|
||||
# pci PCI configuration-space access from user mode
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.155 1998/02/18 13:54:45 msmith Exp $
|
||||
# $Id: MAKEDEV,v 1.156 1998/02/20 03:59:53 ahasty Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -826,7 +826,9 @@ cuaA*)
|
||||
minor=`expr $port - 1`
|
||||
name=`expr $port + 1000 | cut -c 3-4`
|
||||
mknod cuaA$name c $major `expr $minor + 128`
|
||||
chown uucp.dialer cuaA$name
|
||||
mknod cuaiA$name c $major `expr $minor + 128 + 65536`
|
||||
mknod cualA$name c $major `expr $minor + 128 + 131072`
|
||||
chown uucp.dialer cuaA$name cuaiA$name cualA$name
|
||||
port=`expr $port + 1`
|
||||
done
|
||||
umask 77
|
||||
|
Loading…
Reference in New Issue
Block a user