summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-02-19 14:32:56 +0000
committerache <ache@FreeBSD.org>1994-02-19 14:32:56 +0000
commitd05ae37f7c71fa60a4236628aaed22d02614daac (patch)
tree10d053cfc944fc24883e0136cf9a6c5cc58fe79a /etc/MAKEDEV
parent795c84b022f97a443965a4a7c0edf5050902b70b (diff)
downloadFreeBSD-src-d05ae37f7c71fa60a4236628aaed22d02614daac.zip
FreeBSD-src-d05ae37f7c71fa60a4236628aaed22d02614daac.tar.gz
Sorry, expr error in last commit.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index a670ce0..b06cec6 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -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
OpenPOWER on IntegriCloud