#!/bin/sh # This file exists to let me test the function of these scripts outside # of the FreeBSD RC environment. # # Just enough bare minimum facilities are present, to permit my rc.d scripts # to run. I mostly use this to test the scripts which generate configuration # files. load_rc_config() { true } run_rc_command() { if [ -z "${1}" ] then echo "Error. Must supply an rc.d script command." exit 254 fi eval \${${1}_cmd} } . ${RC_ROUTER_HARNESS}/etc/rc.conf # vim: ft=bash