Index: etc/rc.d/netdumpsrv =================================================================== --- etc/rc.d/netdumpsrv (revision 0) +++ etc/rc.d/netdumpsrv (revision 0) @@ -0,0 +1,16 @@ +#!/bin/sh +# +# PROVIDE: netdumpsrv +# BEFORE: LOGIN +# KEYWORD: shutdown + +. /etc/rc.subr + +name="netdumpsrv" +rcvar=`set_rcvar` + +command="/usr/sbin/${name}" +pidfile="/var/run/${name}.pid" + +load_rc_config $name +run_rc_command "$1" Index: etc/rc.d/Makefile =================================================================== --- etc/rc.d/Makefile (revision 219926) +++ etc/rc.d/Makefile (working copy) @@ -22,7 +22,7 @@ ldconfig local localpkg lockd lpd \ mixer motd mountcritlocal mountcritremote mountlate \ mdconfig mdconfig2 mountd moused mroute6d mrouted msgs \ - named natd netif netoptions \ + named natd netdumpsrv netif netoptions \ newsyslog nfsclient nfscbd nfsd \ nfsserver nfsuserd nisdomain nsswitch ntpd ntpdate \ othermta \ Index: etc/defaults/rc.conf =================================================================== --- etc/defaults/rc.conf (revision 219926) +++ etc/defaults/rc.conf (working copy) @@ -286,6 +286,13 @@ named_auto_forward_only="NO" # Do "forward only" instead of "forward first" # +# netdumpsrv configuration. +# +netdumpsrv_enable="NO" # Run netdumpsrv. +netdumpsrv_program="/usr/sbin/netdumpsrv" # Path to netdumpsrv. +#netdumpsrv_flags="" # Use this for flags -a, -D, -d, -i + +# # kerberos. Do not run the admin daemons on slave servers # kerberos5_server_enable="NO" # Run a kerberos 5 master server (or NO).