From de8d6129841eedb83258cb2916f93cc28d903864 Mon Sep 17 00:00:00 2001 From: manu Date: Sun, 13 Jan 2002 14:08:48 +0000 Subject: [PATCH] Added clockctl --- etc/etc.acorn32/MAKEDEV | 11 ++++++++++- etc/etc.alpha/MAKEDEV | 11 ++++++++++- etc/etc.arc/MAKEDEV | 11 ++++++++++- etc/etc.arm26/MAKEDEV | 11 ++++++++++- etc/etc.arm32/MAKEDEV | 15 ++++++++------- etc/etc.atari/MAKEDEV | 11 ++++++++++- etc/etc.bebox/MAKEDEV | 11 ++++++++++- etc/etc.cobalt/MAKEDEV | 11 ++++++++++- etc/etc.dreamcast/MAKEDEV | 11 ++++++++++- etc/etc.evbsh3/MAKEDEV | 11 ++++++++++- etc/etc.hp300/MAKEDEV | 11 ++++++++++- etc/etc.hpcmips/MAKEDEV | 11 ++++++++++- etc/etc.hpcsh/MAKEDEV | 11 ++++++++++- 13 files changed, 128 insertions(+), 19 deletions(-) diff --git a/etc/etc.acorn32/MAKEDEV b/etc/etc.acorn32/MAKEDEV index 76cdb2ce9adc..08bc83945884 100755 --- a/etc/etc.acorn32/MAKEDEV +++ b/etc/etc.acorn32/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.4 2002/01/08 02:46:10 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.5 2002/01/13 14:08:48 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -93,6 +93,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # md memory disk # kbd raw keyboard # kbdctl keyboard control @@ -137,6 +138,7 @@ all) sh $0 mouse-qms0 random openfirm sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $0 scsibus0 scsibus1 scsibus2 scsibus3 + sh $0 clockctl ;; ramdisk|floppy) @@ -679,6 +681,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 84 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV index dddfe9e15533..e67757e07afe 100644 --- a/etc/etc.alpha/MAKEDEV +++ b/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.82 2002/01/08 02:46:11 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.83 2002/01/13 14:09:21 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -98,6 +98,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # audio* audio devices # bpf* Berkeley packet filter devices # ch* SCSI media changer @@ -149,6 +150,7 @@ all) sh $0 agp0 sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 sh $0 altq + sh $0 clockctl ;; minimal) @@ -723,6 +725,13 @@ i4btel*) chmod 600 i4btel$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 69 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 45ba5d5a53d8..c14ab03b43c7 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.10 2002/01/08 02:46:12 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.11 2002/01/13 14:11:33 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -82,6 +82,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # bpf* Berkeley packet filter devices # ch* SCSI media changer # fd file descriptors (/dev/fd/*) @@ -120,6 +121,7 @@ all) sh $0 random local sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 wscons isdn + sh $0 clockctl ;; minimal) @@ -478,6 +480,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 52 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.arm26/MAKEDEV b/etc/etc.arm26/MAKEDEV index 61c096814f5a..1bcf9a45191f 100644 --- a/etc/etc.arm26/MAKEDEV +++ b/etc/etc.arm26/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.11 2001/12/08 00:35:25 bjh21 Exp $ +# $NetBSD: MAKEDEV,v 1.12 2002/01/13 14:12:11 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -75,6 +75,7 @@ # arcpp* Archimedes parallel port # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors (/dev/fd/*) # bpf* Berkeley packet filter devices # ipl IP filter @@ -101,6 +102,7 @@ all) sh $0 wskbd0 wsmouse0 sh $0 wscons sh $0 com0 lpt0 arcpp0 + sh $0 clockctl ;; minimal) @@ -351,6 +353,13 @@ cfs*) ;; +clockctl) + rm -f clockctl + mknod clockctl c 27 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.arm32/MAKEDEV b/etc/etc.arm32/MAKEDEV index 0e1589cb6151..637f9918b265 100644 --- a/etc/etc.arm32/MAKEDEV +++ b/etc/etc.arm32/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.65 2002/01/08 02:46:12 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.66 2002/01/13 14:13:50 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -93,6 +93,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # md memory disk # kbd raw keyboard # kbdctl keyboard control @@ -114,7 +115,6 @@ # wsmux* wscons event multiplexor # wsfont* console font control # pci* PCI bus access devices -# clockctl clock control for non root users # dialin=0 @@ -140,6 +140,7 @@ all) sh $0 mouse-qms0 random openfirm sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $0 scsibus0 scsibus1 scsibus2 scsibus3 + sh $0 clockctl ;; ramdisk|floppy) @@ -697,11 +698,11 @@ pci*) ;; clockctl) - rm -f clockctl - mknod clockctl 94 0 - chown root.daemon clockctl - chmod 660 clockctl - ;; + rm -f clockctl + mknod clockctl c 84 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; local) umask 0 diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV index f0c0c04a4644..51224783a9ae 100644 --- a/etc/etc.atari/MAKEDEV +++ b/etc/etc.atari/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.46 2002/01/08 02:46:12 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.47 2002/01/13 14:14:18 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -91,6 +91,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # aconf autoconfig information (not yet) # audio* audio devices # bpf* Berkeley Packet Filter @@ -138,6 +139,7 @@ all) sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 audio audio0 audio1 audio2 audio3 sh $0 isdn + sh $0 clockctl ;; floppy) @@ -585,6 +587,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 52 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.bebox/MAKEDEV b/etc/etc.bebox/MAKEDEV index 98d340f56cea..2dac4773b659 100644 --- a/etc/etc.bebox/MAKEDEV +++ b/etc/etc.bebox/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.21 2002/01/08 02:46:13 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.22 2002/01/13 14:14:40 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -85,6 +85,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # bpf* packet filter # ipl ip filter @@ -127,6 +128,7 @@ all) sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 isdn + sh $0 clockctl ;; floppy) @@ -592,6 +594,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 58 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.cobalt/MAKEDEV b/etc/etc.cobalt/MAKEDEV index f054a9f35c86..a96f36cb1e7e 100644 --- a/etc/etc.cobalt/MAKEDEV +++ b/etc/etc.cobalt/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.8 2002/01/08 02:46:13 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.9 2002/01/13 14:15:40 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -76,6 +76,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # bpf* Berkeley packet filter devices # ch* SCSI media changer # fd file descriptors (/dev/fd/*) @@ -108,6 +109,7 @@ all) sh $0 tty00 tty01 tty02 tty03 sh $0 random local isdn sh $0 scsibus0 scsibus1 scsibus2 scsibus3 + sh $0 clockctl ;; minimal) @@ -381,6 +383,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 33 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.dreamcast/MAKEDEV b/etc/etc.dreamcast/MAKEDEV index 5c91dff30460..7a0e52881c22 100755 --- a/etc/etc.dreamcast/MAKEDEV +++ b/etc/etc.dreamcast/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.6 2001/12/19 17:57:06 wiz Exp $ +# $NetBSD: MAKEDEV,v 1.7 2002/01/13 14:16:21 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -64,6 +64,7 @@ # pty* set of 16 master and slave pseudo terminals # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # bpf* packet filter # ipl ip filter @@ -90,6 +91,7 @@ all) sh $0 ttyE0 ttyEcfg wsmouse0 wskbd0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl sh $0 ccd0 ccd1 ccd2 ccd3 md0 random sh $0 wscons lkm audio local + sh $0 clockctl ;; ramdisk) @@ -360,6 +362,13 @@ random) chmod 644 urandom ;; +clockctl) + rm -f clockctl + mknod clockctl c 59 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 #sh $0.local all diff --git a/etc/etc.evbsh3/MAKEDEV b/etc/etc.evbsh3/MAKEDEV index b77a45cb4656..e5caaa519bbc 100755 --- a/etc/etc.evbsh3/MAKEDEV +++ b/etc/etc.evbsh3/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.4 2001/12/19 17:57:07 wiz Exp $ +# $NetBSD: MAKEDEV,v 1.5 2002/01/13 14:16:41 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -56,6 +56,7 @@ # Call units: # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # bpf* packet filter # ipl ip filter @@ -82,6 +83,7 @@ all) sh $0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl sh $0 ccd0 ccd1 ccd2 ccd3 md0 random sh $0 lkm audio local + sh $0 clockctl ;; ramdisk) @@ -283,6 +285,13 @@ random) chmod 644 urandom ;; +clockctl) + rm -f clockctl + mknod clockctl c 52 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 #sh $0.local all diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index 5529eaf9f934..ea249b3af9e0 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.36 2001/12/19 17:58:06 wiz Exp $ +# $NetBSD: MAKEDEV,v 1.37 2002/01/13 14:17:17 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -69,6 +69,7 @@ # wsmux* wscons events multiplexor # wsfont* console font control # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # grf* raw interface to HP300 graphics devices # ite* terminal emulator interface to HP300 graphics devices @@ -97,6 +98,7 @@ all) sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 local # sh $0 wscons + sh $0 clockctl ;; std) @@ -498,6 +500,13 @@ scsibus*) chmod 644 scsibus$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 42 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.hpcmips/MAKEDEV b/etc/etc.hpcmips/MAKEDEV index 53fc8ea9a4fe..1cc669ba1199 100644 --- a/etc/etc.hpcmips/MAKEDEV +++ b/etc/etc.hpcmips/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.22 2002/01/08 02:46:14 lukem Exp $ +# $NetBSD: MAKEDEV,v 1.23 2002/01/13 14:17:49 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -88,6 +88,7 @@ # i4btrc* trace device # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # bpf* packet filter # ipl ip filter @@ -124,6 +125,7 @@ all) sh $0 wscons sh $0 ttyTX0 ttyTX1 ucbsnd # sh $0 local + sh $0 clockctl ;; floppy) @@ -577,6 +579,13 @@ i4btrc*) chmod 600 i4btrc$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 46 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all diff --git a/etc/etc.hpcsh/MAKEDEV b/etc/etc.hpcsh/MAKEDEV index 98a89330e966..9fab4971d21e 100755 --- a/etc/etc.hpcsh/MAKEDEV +++ b/etc/etc.hpcsh/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: MAKEDEV,v 1.7 2001/12/19 18:30:02 wiz Exp $ +# $NetBSD: MAKEDEV,v 1.8 2002/01/13 14:18:16 manu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -63,6 +63,7 @@ # pty* set of 16 master and slave pseudo terminals # # Special purpose devices: +# clockctl clock control for non root users # fd file descriptors # bpf* packet filter # ipl ip filter @@ -94,6 +95,7 @@ all) sh $0 scsibus0 sh $0 wscons # sh $0 local + sh $0 clockctl ;; ramdisk) @@ -386,6 +388,13 @@ scsibus*) chmod 644 scsibus$unit ;; +clockctl) + rm -f clockctl + mknod clockctl c 34 0 + chown root.ntpd clockctl + chmod 660 clockctl + ;; + local) umask 0 sh $0.local all