mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 03:54:17 +01:00
Sorry, expr error in last commit.
This commit is contained in:
parent
a3ef21fa83
commit
f5531fa6c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1178
@ -75,7 +75,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.25 1994/02/07 04:25:07 alm Exp $
|
||||
# $Id: MAKEDEV,v 1.26 1994/02/19 13:17:03 ache Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -469,7 +469,7 @@ speaker)
|
||||
;;
|
||||
|
||||
sio*|cua*|ttyd*)
|
||||
unit=`expr $i : '\(.\)$'`
|
||||
unit=`expr $i : '...d*\(.\)'`
|
||||
rm -f tty0$unit cua0$unit ttyd$unit
|
||||
mknod ttyd$unit c 28 $unit
|
||||
mknod cua0$unit c 28 `expr $unit + 128`
|
||||
@ -477,7 +477,7 @@ sio*|cua*|ttyd*)
|
||||
;;
|
||||
|
||||
tty*)
|
||||
unit=`expr $i : '\(.\)$'`
|
||||
unit=`expr $i : 'tty\(.\)'`
|
||||
rm -f tty0$unit cua0$unit ttyd$unit
|
||||
umask 0
|
||||
mknod tty0$unit c 28 $unit
|
||||
|
@ -75,7 +75,7 @@
|
||||
# tw* xten power controller
|
||||
# snd* various sound cards
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.25 1994/02/07 04:25:07 alm Exp $
|
||||
# $Id: MAKEDEV,v 1.26 1994/02/19 13:17:03 ache Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -469,7 +469,7 @@ speaker)
|
||||
;;
|
||||
|
||||
sio*|cua*|ttyd*)
|
||||
unit=`expr $i : '\(.\)$'`
|
||||
unit=`expr $i : '...d*\(.\)'`
|
||||
rm -f tty0$unit cua0$unit ttyd$unit
|
||||
mknod ttyd$unit c 28 $unit
|
||||
mknod cua0$unit c 28 `expr $unit + 128`
|
||||
@ -477,7 +477,7 @@ sio*|cua*|ttyd*)
|
||||
;;
|
||||
|
||||
tty*)
|
||||
unit=`expr $i : '\(.\)$'`
|
||||
unit=`expr $i : 'tty\(.\)'`
|
||||
rm -f tty0$unit cua0$unit ttyd$unit
|
||||
umask 0
|
||||
mknod tty0$unit c 28 $unit
|
||||
|
Loading…
Reference in New Issue
Block a user