Add ipnat and ipstate at the appropriate minor numbers off the ipfilter

device.
This commit is contained in:
thorpej 1997-05-31 23:52:55 +00:00
parent ce91a5dfce
commit 7f29bb4668
10 changed files with 53 additions and 34 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $NetBSD: MAKEDEV,v 1.14 1997/02/03 20:11:09 cgd Exp $ # $NetBSD: MAKEDEV,v 1.15 1997/05/31 23:52:55 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -294,10 +294,12 @@ lpt*|lpa*)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 35 0 mknod ipl c 35 0
chown root.wheel ipl mknod ipnat c 35 1
chmod 600 ipl mknod ipstate c 35 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
local) local)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.25 1997/01/05 20:41:01 veego Exp $ # $NetBSD: MAKEDEV,v 1.26 1997/05/31 23:53:02 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -401,10 +401,12 @@ lkm)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 40 0 mknod ipl c 40 0
chown root.wheel ipl mknod ipnat c 40 1
chmod 600 ipl mknod ipstate c 40 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
local) local)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.6 1997/01/06 02:56:36 mark Exp $ # $NetBSD: MAKEDEV,v 1.7 1997/05/31 23:53:06 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -294,10 +294,12 @@ bpf*|tun*|pms*|quadmouse*)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 46 0 mknod ipl c 46 0
chown root.wheel ipl mknod ipnat c 46 1
chmod 600 ipl mknod ipstate c 46 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
beep) beep)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.14 1997/05/27 07:05:50 leo Exp $ # $NetBSD: MAKEDEV,v 1.15 1997/05/31 23:53:09 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -86,6 +86,7 @@
# uk* SCSI unknown # uk* SCSI unknown
# ch SCSI changer # ch SCSI changer
# rtc Atari RealTimeClock # rtc Atari RealTimeClock
# ipl IP Filter device
PATH=/sbin:/bin:/usr/sbin:/usr/bin PATH=/sbin:/bin:/usr/sbin:/usr/bin
umask 77 umask 77

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.15 1997/05/23 11:20:27 kleink Exp $ # $NetBSD: MAKEDEV,v 1.16 1997/05/31 23:53:12 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -310,10 +310,12 @@ lkm)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 18 0 mknod ipl c 18 0
chown root.wheel ipl mknod ipnat c 18 1
chmod 600 ipl mknod ipstate c 18 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
pty*) pty*)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.49 1997/03/31 21:28:24 mycroft Exp $ # $NetBSD: MAKEDEV,v 1.50 1997/05/31 23:53:16 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -339,10 +339,12 @@ bpf*|tun*|mms*|lms*|pms*|joy*)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 44 0 mknod ipl c 44 0
chown root.wheel ipl mknod ipnat c 44 1
chmod 600 ipl mknod ipstate c 44 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
speaker) # (XXX - installed) speaker) # (XXX - installed)

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
# #
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 # from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $NetBSD: MAKEDEV,v 1.24 1997/02/19 07:53:42 scottr Exp $ # $NetBSD: MAKEDEV,v 1.25 1997/05/31 23:53:20 thorpej Exp $
# #
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
# all a smattering--at least one of each except # all a smattering--at least one of each except
@ -281,10 +281,12 @@ lkm)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 35 0 mknod ipl c 35 0
chown root.wheel ipl mknod ipnat c 35 1
chmod 600 ipl mknod ipstate c 35 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
asc*) asc*)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.10 1997/03/18 01:43:51 thorpej Exp $ # $NetBSD: MAKEDEV,v 1.11 1997/05/31 23:53:25 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -253,10 +253,12 @@ bpf*|tun*)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 28 0 mknod ipl c 28 0
chown root.wheel ipl mknod ipnat c 28 1
chmod 600 ipl mknod ipstate c 28 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
lkm) lkm)

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.23 1997/04/16 23:19:25 pk Exp $ # $NetBSD: MAKEDEV,v 1.24 1997/05/31 23:53:28 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -292,10 +292,12 @@ lkm)
;; ;;
ipl) ipl)
rm -f ipl rm -f ipl ipnat ipstate
mknod ipl c 25 0 mknod ipl c 25 0
chown root.wheel ipl mknod ipnat c 25 1
chmod 600 ipl mknod ipstate c 25 2
chown root.wheel ipl ipnat ipstate
chmod 600 ipl ipnat ipstate
;; ;;
pty*) pty*)

View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $NetBSD: MAKEDEV,v 1.6 1997/02/04 19:24:36 ragge Exp $ # $NetBSD: MAKEDEV,v 1.7 1997/05/31 23:53:32 thorpej Exp $
# #
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
# #
@ -92,6 +92,8 @@ std)
mknod stdout c 53 1 ; chmod 666 stdout mknod stdout c 53 1 ; chmod 666 stdout
mknod stderr c 53 2 ; chmod 666 stderr mknod stderr c 53 2 ; chmod 666 stderr
mknod ipl c 42 0 ; chmod 600 ipl mknod ipl c 42 0 ; chmod 600 ipl
mknod ipnat c 42 1 ; chmod 600 ipnat
mknod ipstate c 42 2 ; chmod 600 ipstate
mkdir fd > /dev/null 2>&1 mkdir fd > /dev/null 2>&1
(cd fd && eval `echo "" | awk ' BEGIN { \ (cd fd && eval `echo "" | awk ' BEGIN { \
for (i = 0; i < 64; i++) \ for (i = 0; i < 64; i++) \