Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc separate tun(4) and joy(4) entries, those two are totall...
details: https://anonhg.NetBSD.org/src/rev/502327edc259
branches: trunk
changeset: 574785:502327edc259
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Mar 12 10:26:45 2005 +0000
description:
separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki
diffstat:
etc/MAKEDEV.tmpl | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r aeb8e6249a82 -r 502327edc259 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl Sat Mar 12 08:01:51 2005 +0000
+++ b/etc/MAKEDEV.tmpl Sat Mar 12 10:26:45 2005 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV.tmpl,v 1.39 2005/03/11 20:55:10 bouyer Exp $
+# $NetBSD: MAKEDEV.tmpl,v 1.40 2005/03/12 10:26:45 jdolecek Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -882,12 +882,14 @@
lndev bpf bpf0
;;
-tun*|joy*)
- case $i in
- joy*) name=joy; unit=${i#joy}; chr=%joy_chr%;;
- tun*) name=tun; unit=${i#tun}; chr=%tun_chr%;;
- esac
- mkdev $name$unit c $chr $unit
+tun*)
+ unit=${i#tun}
+ mkdev tun$unit c %tun_chr% $unit
+ ;;
+
+joy*)
+ unit=${i#joy}
+ mkdev joy$unit c %joy_chr% $unit
;;
ipl)
Home |
Main Index |
Thread Index |
Old Index