diff --git a/src/etc/MAKEDEV.mi b/src/etc/MAKEDEV.mi index 194861b3..9a01da71 100644 --- a/src/etc/MAKEDEV.mi +++ b/src/etc/MAKEDEV.mi @@ -1,7 +1,7 @@ define(COMM,`#')dnl include(MAKEDEV.sub)dnl dnl -vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp $-})dnl +vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david Exp $-})dnl dnl divert(1)dnl {-#-} @@ -87,7 +87,7 @@ hex() alph2d() { - local t="$1" + local t="$1" local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" local sub=${p%${t}*} echo ${#sub} diff --git a/src/etc/MAKEDEV.sub b/src/etc/MAKEDEV.sub index 96ada6a4..fe707785 100644 --- a/src/etc/MAKEDEV.sub +++ b/src/etc/MAKEDEV.sub @@ -1,4 +1,4 @@ -dnl $OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $ +dnl $OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $ dnl dnl Copyright (c) 2001-2004 Todd T. Fries dnl @@ -26,7 +26,7 @@ changequote(`{-', `-}')dnl dnl dnl o Next, change the comment character to make shell parameter dnl substitution possible -dnl +dnl changecom(`/*', `*/')dnl dnl dnl o version info must be stripped of $ so we can say 'generated from' below @@ -71,8 +71,8 @@ dnl store a version string for 'this' file dnl dnl vers ( uniqueidstring, versionstring, subdir ) dnl -dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-}) -dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-}, etc.MACHINE) +dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-}) +dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-}, etc.MACHINE) dnl dnl if subdir is defined, prepend it to the filename in the version string dnl @@ -83,7 +83,7 @@ define({-vers-}, dnl dnl Version info for this file: dnl -vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-})dnl +vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-})dnl dnl dnl define({-_addsubdir-}, diff --git a/src/etc/etc.mac68k/MAKEDEV.md b/src/etc/etc.mac68k/MAKEDEV.md index 2b3fc0f1..d1f9683b 100644 --- a/src/etc/etc.mac68k/MAKEDEV.md +++ b/src/etc/etc.mac68k/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.17 2004/04/11 18:05:23 millert Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.18 2005/02/07 06:14:18 david Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -102,8 +102,8 @@ adb) ;; asc*) - M asc$U c 36 $U - ;; + M asc$U c 36 $U + ;; dnl dnl *** mac68k specific targets dnl diff --git a/src/etc/etc.mvmeppc/MAKEDEV.md b/src/etc/etc.mvmeppc/MAKEDEV.md index 92b7f29b..9a097111 100644 --- a/src/etc/etc.mvmeppc/MAKEDEV.md +++ b/src/etc/etc.mvmeppc/MAKEDEV.md @@ -1,5 +1,5 @@ vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.17 2005/01/28 18:56:27 danh Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.18 2005/02/07 06:14:18 david Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2004 Todd T. Fries @@ -354,17 +354,17 @@ ttyCcfg) rm -f ttyCcfg mknod ttyCcfg c $major $minor chown root:wheel ttyCcfg - ;; + ;; ttyC*) type=C unit=${i##ttyC} major=67 minor=$unit - rm -f tty$type$unit - mknod tty$type$unit c $major $minor - chown root:wheel tty$type$unit - ;; + rm -f tty$type$unit + mknod tty$type$unit c $major $minor + chown root:wheel tty$type$unit + ;; bpf*) unit=${i##*[a-z]}