summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarbled <garbled@NetBSD.org>1999-12-15 09:17:24 +0000
committergarbled <garbled@NetBSD.org>1999-12-15 09:17:24 +0000
commita2f13ea7629966de1bb63cbbad558bc5bea42afb (patch)
treede983a19a71e12f17550ee94a19cae1ceac796e6
parentf7f3de79e04da2c30e7ce20026ec321c71e52750 (diff)
Create devices for apm, apmctl and tctrl0
-rw-r--r--etc/etc.sparc/MAKEDEV20
1 files changed, 18 insertions, 2 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index db04df4930e..b342d233e35 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.51 1999/10/18 22:41:29 ad Exp $
+# $NetBSD: MAKEDEV,v 1.52 1999/12/15 09:17:24 garbled Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -99,7 +99,7 @@ all)
sh -$- $0 bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
sh -$- $0 cgeight0 tcx0
sh -$- $0 scsibus0 scsibus1 scsibus2 scsibus3
- sh -$- $0 lkm random local ipl cfs0
+ sh -$- $0 lkm random local ipl cfs0 apm apmctl tctrl0
;;
floppy)
sh -$- $0 std ttya ttyb ttyc ttyd pty0
@@ -457,6 +457,22 @@ scsibus*)
chmod 644 scsibus$unit
;;
+apm*)
+ rm -f apm apmctl
+ ln -s tctrl0 apm
+ mknod apmctl c 71 8
+ chown root:wheel apm apmctl
+ chmod 644 apmctl
+ ;;
+
+tctrl*)
+ unit=${i#tctrl}
+ rm -f tctrl$unit
+ mknod tctrl$unit c 71 $unit
+ chown root:wheel tctrl$unit
+ chmod 666 tctrl$unit
+ ;;
+
local)
umask 0
sh $0.local all