mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Create the cuaiA* and cualA* devices.
PR: 5872 Submitted by: Adam Baran <badam@mw.mil.pl>
This commit is contained in:
parent
ea0665cd2b
commit
eff98671a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33960
@ -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