Much of the core bits are initially ported.

This should be mostly independent of my configs, now.
This commit is contained in:
2026-05-09 03:26:53 -04:00
parent 6b02d9d58e
commit 4d30691ee6
16 changed files with 1278 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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