28 lines
613 B
Bash
Executable File
28 lines
613 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -z "${rc_router_dir}" ]
|
|
then
|
|
echo "Unable to proceed -- rc_router_dir is not set." >& /dev/fd/2
|
|
echo "You must set this variable before sourcing `rc.router/rc.entry`" >& /dev/fd/2
|
|
exit 254
|
|
fi
|
|
|
|
if [ -z "${rc_router_conf_dir}" ]
|
|
then
|
|
echo "Unable to proceed -- rc_router_conf_dir is not set." >& /dev/fd/2
|
|
echo "You must set this variable before sourcing `rc.router/rc.entry`" >& /dev/fd/2
|
|
exit 254
|
|
fi
|
|
|
|
local_startup="${local_startup} ${rc_router_dir}/rc.d"
|
|
|
|
. ${rc_router_dir}/rc.subr
|
|
|
|
. ${rc_router_dir}/defaults/rc.conf
|
|
|
|
. ${rc_router_conf_dir}/rc.conf
|
|
|
|
_rc_router_epilogue
|
|
|
|
# vim: ft=bash
|