summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-08 00:44:55 +0000
committerache <ache@FreeBSD.org>1994-12-08 00:44:55 +0000
commit3772939b8cf696190e39891245480123cc6fc751 (patch)
tree5752bbb5c777fd5eb59d3bdbb3b2078fd8456cb2 /etc/MAKEDEV
parent9eb8d2804904ca5b533bfdaba8d64c30784953b8 (diff)
downloadFreeBSD-src-3772939b8cf696190e39891245480123cc6fc751.zip
FreeBSD-src-3772939b8cf696190e39891245480123cc6fc751.tar.gz
Fix wrong regexps
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index df8672a..fda819c 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -70,7 +70,7 @@
# socksys iBCS2 socket system driver
# vat VAT compatibility audio driver (requires snd*)
#
-# $Id: MAKEDEV,v 1.57 1994/12/06 19:50:17 bde Exp $
+# $Id: MAKEDEV,v 1.58 1994/12/06 23:06:10 ache Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -470,7 +470,7 @@ speaker)
cuaa?|cua?)
umask 7
- unit=`expr $i : 'cua*\(.\)$'`
+ unit=`expr $i : 'cua.*\(.\)$'`
rm -f cua*a$unit
m=`ttyminor $unit`
mknod cuaa$unit c 28 `expr $m + 128`
@@ -481,7 +481,7 @@ cuaa?|cua?)
;;
ttyd?|tty?)
- unit=`expr $i : 'tty*\(.\)$'`
+ unit=`expr $i : 'tty.*\(.\)$'`
rm -f tty*d$unit
m=`ttyminor $unit`
mknod ttyd$unit c 28 $m
@@ -506,7 +506,7 @@ psm*)
;;
mouse*)
- name=`expr $i : 'mouse-\(.*\)'`
+ name=`expr $i : 'mouse\(.*\)'`
if [ ! -c $name ]; then
$0 $name # make the appropriate device
fi
OpenPOWER on IntegriCloud