Added clockctl
This commit is contained in:
parent
27d818bfdb
commit
8f66a3364c
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.155 2002/01/08 02:46:14 lukem Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.156 2002/01/13 14:18:35 manu Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
|
@ -102,6 +102,7 @@
|
|||
# i4btrc* trace device
|
||||
#
|
||||
# Special purpose devices:
|
||||
# clockctl clock control for non root users
|
||||
# fd file descriptors
|
||||
# bpf* packet filter
|
||||
# cir* Consumer IR
|
||||
|
@ -186,6 +187,7 @@ all)
|
|||
sh $0 altq
|
||||
sh $0 ed0 ed1
|
||||
sh $0 cir0 cir1 irframe0 irframe1
|
||||
sh $0 clockctl
|
||||
;;
|
||||
|
||||
audio)
|
||||
|
@ -957,6 +959,13 @@ irframe*)
|
|||
chmod 600 $irframe
|
||||
;;
|
||||
|
||||
clockctl)
|
||||
rm -f clockctl
|
||||
mknod clockctl c 89 0
|
||||
chown root.ntpd clockctl
|
||||
chmod 660 clockctl
|
||||
;;
|
||||
|
||||
local)
|
||||
umask 0
|
||||
sh $0.local all
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.9 2001/12/19 18:30:03 wiz Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.10 2002/01/13 14:19:42 manu Exp $
|
||||
#
|
||||
# Device "make" file. Valid arguments:
|
||||
# std standard devices
|
||||
|
@ -20,6 +20,7 @@
|
|||
# Tapes:
|
||||
# st* SCSI tape
|
||||
# Special purpose devices:
|
||||
# clockctl clock control for non root users
|
||||
# bpf* packet filter
|
||||
# ch* SCSI media changer
|
||||
# fd file descriptor device
|
||||
|
@ -44,6 +45,7 @@ all)
|
|||
sh -$- $0 pty0 pty1 pty2 pty3 bpf0 bpf1 lkm ipl
|
||||
sh -$- $0 wskbd wsmouse ttyE0 ttyEcfg
|
||||
sh -$- $0 scsibus0
|
||||
sh -$- $0 clockctl
|
||||
;;
|
||||
std)
|
||||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
|
||||
|
@ -280,6 +282,13 @@ wsmouse*|wskbd*)
|
|||
;;
|
||||
|
||||
|
||||
clockctl)
|
||||
rm -f clockctl
|
||||
mknod clockctl c 35 0
|
||||
chown root.ntpd clockctl
|
||||
chmod 660 clockctl
|
||||
;;
|
||||
|
||||
local)
|
||||
umask 0
|
||||
sh $0.local all
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
|
||||
# $NetBSD: MAKEDEV,v 1.50 2001/12/19 18:30:03 wiz Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.51 2002/01/13 14:20:06 manu Exp $
|
||||
#
|
||||
###########################################################################
|
||||
#
|
||||
|
@ -67,6 +67,7 @@
|
|||
# grf* Bitmapped graphics device
|
||||
#
|
||||
# Special purpose devices:
|
||||
# clockctl clock control for non root users
|
||||
# tun* network tunnel driver
|
||||
# bpf* packet filter
|
||||
# lkm loadable kernel modules interface
|
||||
|
@ -100,6 +101,7 @@ all)
|
|||
sh $0 tun0 tun1 tun2 tun3 asc0 lkm ipl local
|
||||
sh $0 scsibus0 scsibus1 scsibus2 scsibus3 cfs0
|
||||
sh $0 wscons
|
||||
sh $0 clockctl
|
||||
;;
|
||||
|
||||
std)
|
||||
|
@ -408,6 +410,13 @@ cfs*)
|
|||
chmod 600 $cfs
|
||||
;;
|
||||
|
||||
clockctl)
|
||||
rm -f clockctl
|
||||
mknod clockctl c 48 0
|
||||
chown root.ntpd clockctl
|
||||
chmod 660 clockctl
|
||||
;;
|
||||
|
||||
local)
|
||||
umask 0
|
||||
sh $0.local all
|
||||
|
|
Loading…
Reference in New Issue