Files
adam 4d30691ee6 Much of the core bits are initially ported.
This should be mostly independent of my configs, now.
2026-05-09 03:26:53 -04:00

30 lines
497 B
Bash

#!/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