#!/bin/sh # # This script start and stop the KiSS DX deamon, using the rc.subr functionality # # Add the following lines to /etc/rc.conf to enable this service at boot time: # # kissdx_enable="YES" A # (kissdx="YES" for NetBSD) # . /etc/rc.subr #Name of program to start name="kissdx" # Full path to program command="/usr/local/sbin/${name}" # Arguments used to start program command_args="-d" required_files="/usr/local/etc/${name}.conf" # Load variables from rc.conf load_rc_config $name # Invoke the rc.subr run_rc_command "$1"