config root man

Current Path : /usr/src/contrib/ipfilter/BSD/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/contrib/ipfilter/BSD/make-devices

#!/bin/sh

os=`uname -s`-`uname -r`

case "$os" in
	FreeBSD-2.2*)
		major=79
		;;
	FreeBSD-*)
		major=20
		;;
	NetBSD-*)
		echo "see /dev/MAKEDEV"
		exit 0
		;;
	OpenBSD-*)
		echo "see /dev/MAKEDEV"
		exit 0
		;;
	*)
		;;
esac

umask 037
mknod /dev/ipl c $major 0
mknod /dev/ipnat c $major 1
mknod /dev/ipstate c $major 2
mknod /dev/ipauth c $major 3
mknod /dev/ipsync c $major 4
mknod /dev/ipscan c $major 5

Man Man