2002-07-18 05:00:17 +00:00
|
|
|
#!/bin/sh
|
1997-04-27 03:59:19 +00:00
|
|
|
#
|
2002-07-18 05:00:17 +00:00
|
|
|
# Configure routing and miscellaneous network tunables
|
2000-10-08 19:20:36 +00:00
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
2000-10-08 19:20:36 +00:00
|
|
|
#
|
1997-04-27 03:59:19 +00:00
|
|
|
|
2003-06-29 05:09:48 +00:00
|
|
|
# PROVIDE: routing
|
2014-11-09 21:33:01 +00:00
|
|
|
# REQUIRE: netif ppp stf
|
2013-05-19 04:10:34 +00:00
|
|
|
# KEYWORD: nojailvnet
|
2001-06-03 12:26:56 +00:00
|
|
|
|
2002-07-18 05:00:17 +00:00
|
|
|
. /etc/rc.subr
|
2008-05-18 02:57:54 +00:00
|
|
|
. /etc/network.subr
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2003-06-29 05:09:48 +00:00
|
|
|
name="routing"
|
2009-10-02 20:19:53 +00:00
|
|
|
start_cmd="routing_start doall"
|
2003-06-29 05:09:48 +00:00
|
|
|
stop_cmd="routing_stop"
|
|
|
|
extra_commands="options static"
|
2009-10-02 20:19:53 +00:00
|
|
|
static_cmd="routing_start static"
|
|
|
|
options_cmd="routing_start options"
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
ROUTE_CMD="/sbin/route"
|
1999-12-12 01:58:30 +00:00
|
|
|
|
2003-06-29 05:09:48 +00:00
|
|
|
routing_start()
|
|
|
|
{
|
2014-08-29 08:02:35 +00:00
|
|
|
local _cmd _af _if _a _ret
|
2009-10-02 20:19:53 +00:00
|
|
|
_cmd=$1
|
|
|
|
_af=$2
|
2013-06-09 18:11:36 +00:00
|
|
|
_if=$3
|
2014-08-29 08:02:35 +00:00
|
|
|
_ret=0
|
2009-10-02 20:19:53 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
case $_if in
|
|
|
|
""|[Aa][Ll][Ll]|[Aa][Nn][Yy]) _if="" ;;
|
|
|
|
esac
|
2009-10-02 20:19:53 +00:00
|
|
|
|
|
|
|
case $_af in
|
2013-06-09 18:11:36 +00:00
|
|
|
""|[Aa][Ll][Ll]|[Aa][Nn][Yy])
|
2014-03-14 02:58:48 +00:00
|
|
|
for _a in inet inet6 atm; do
|
2014-08-29 08:02:35 +00:00
|
|
|
afexists $_a || continue
|
|
|
|
setroutes $_cmd $_a $_if || _ret=1
|
2009-10-02 20:19:53 +00:00
|
|
|
done
|
2014-08-29 08:02:35 +00:00
|
|
|
;;
|
2013-06-09 18:11:36 +00:00
|
|
|
*)
|
2014-08-29 08:02:35 +00:00
|
|
|
if afexists $_af; then
|
|
|
|
setroutes $_cmd $_af $_if || _ret=1
|
|
|
|
else
|
|
|
|
err 1 "Unsupported address family: $_af."
|
|
|
|
fi
|
|
|
|
;;
|
2009-10-02 20:19:53 +00:00
|
|
|
esac
|
2014-08-29 08:02:35 +00:00
|
|
|
|
|
|
|
return $_ret
|
2003-06-29 05:09:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
routing_stop()
|
|
|
|
{
|
2013-06-09 18:11:36 +00:00
|
|
|
local _af _if _a
|
2009-10-02 20:19:53 +00:00
|
|
|
_af=$1
|
2013-06-09 18:11:36 +00:00
|
|
|
_if=$2
|
2009-10-02 02:28:59 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
case $_if in
|
|
|
|
""|[Aa][Ll][Ll]|[Aa][Nn][Yy]) _if="" ;;
|
|
|
|
esac
|
2009-10-02 20:19:53 +00:00
|
|
|
|
|
|
|
case $_af in
|
2013-06-09 18:11:36 +00:00
|
|
|
""|[Aa][Ll][Ll]|[Aa][Nn][Yy])
|
2014-03-14 02:58:48 +00:00
|
|
|
for _a in inet inet6 atm; do
|
2009-10-02 20:19:53 +00:00
|
|
|
afexists $_a || continue
|
2013-06-09 18:11:36 +00:00
|
|
|
eval static_${_a} delete $_if
|
|
|
|
# When $_if is specified, do not flush routes.
|
|
|
|
if ! [ -n "$_if" ]; then
|
|
|
|
eval routing_stop_${_a}
|
|
|
|
fi
|
2009-10-02 20:19:53 +00:00
|
|
|
done
|
2014-08-29 08:02:35 +00:00
|
|
|
;;
|
2013-06-09 18:11:36 +00:00
|
|
|
*)
|
2014-08-29 08:02:35 +00:00
|
|
|
if afexists $_af; then
|
|
|
|
eval static_${_af} delete $_if
|
|
|
|
# When $_if is specified, do not flush routes.
|
|
|
|
if ! [ -n "$_if" ]; then
|
|
|
|
eval routing_stop_${_af}
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
err 1 "Unsupported address family: $_af."
|
|
|
|
fi
|
|
|
|
;;
|
2009-10-02 20:19:53 +00:00
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
|
|
|
setroutes()
|
|
|
|
{
|
|
|
|
case $1 in
|
|
|
|
static)
|
2013-06-09 18:11:36 +00:00
|
|
|
static_$2 add $3
|
2009-10-02 20:19:53 +00:00
|
|
|
;;
|
|
|
|
options)
|
|
|
|
options_$2
|
|
|
|
;;
|
|
|
|
doall)
|
2013-06-09 18:11:36 +00:00
|
|
|
static_$2 add $3
|
2009-10-02 20:19:53 +00:00
|
|
|
options_$2
|
|
|
|
;;
|
|
|
|
esac
|
2009-10-02 02:28:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
routing_stop_inet()
|
|
|
|
{
|
2013-06-09 18:11:36 +00:00
|
|
|
${ROUTE_CMD} -n flush -inet
|
2009-10-02 02:28:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
routing_stop_inet6()
|
|
|
|
{
|
|
|
|
local i
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
${ROUTE_CMD} -n flush -inet6
|
2012-02-04 18:14:49 +00:00
|
|
|
for i in `list_net_interfaces`; do
|
|
|
|
if ipv6if $i; then
|
|
|
|
ifconfig $i inet6 -defaultif
|
|
|
|
fi
|
2009-09-12 22:13:41 +00:00
|
|
|
done
|
2003-06-29 05:09:48 +00:00
|
|
|
}
|
|
|
|
|
2009-10-02 20:19:53 +00:00
|
|
|
routing_stop_atm()
|
2002-07-18 05:00:17 +00:00
|
|
|
{
|
2009-10-02 20:19:53 +00:00
|
|
|
return 0
|
2009-09-12 22:13:41 +00:00
|
|
|
}
|
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
static_inet()
|
2009-09-12 22:13:41 +00:00
|
|
|
{
|
2013-06-09 18:11:36 +00:00
|
|
|
local _action _if _skip
|
2009-09-12 22:13:41 +00:00
|
|
|
_action=$1
|
2013-06-09 18:11:36 +00:00
|
|
|
_if=$2
|
2009-09-12 22:13:41 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Add default route.
|
1999-09-13 15:44:20 +00:00
|
|
|
case ${defaultrouter} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
2013-09-02 23:52:25 +00:00
|
|
|
static_routes="${static_routes} _default"
|
2013-06-09 18:11:36 +00:00
|
|
|
route__default="default ${defaultrouter}"
|
1999-09-13 15:44:20 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Install configured routes.
|
1999-09-13 15:44:20 +00:00
|
|
|
if [ -n "${static_routes}" ]; then
|
|
|
|
for i in ${static_routes}; do
|
2013-06-09 18:11:36 +00:00
|
|
|
_skip=0
|
|
|
|
if [ -n "$_if" ]; then
|
|
|
|
case $i in
|
|
|
|
*:$_if) ;;
|
|
|
|
*) _skip=1 ;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
if [ $_skip = 0 ]; then
|
|
|
|
route_args=`get_if_var ${i%:*} route_IF`
|
|
|
|
if [ -n "$route_args" ]; then
|
|
|
|
${ROUTE_CMD} ${_action} ${route_args}
|
|
|
|
else
|
|
|
|
warn "route_${i%:*} not found."
|
|
|
|
fi
|
|
|
|
fi
|
2009-09-12 22:13:41 +00:00
|
|
|
done
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
static_inet6()
|
2009-09-12 22:13:41 +00:00
|
|
|
{
|
2015-02-06 00:02:00 +00:00
|
|
|
local _action _if _skip fibmod fibs allfibs
|
2009-09-12 22:13:41 +00:00
|
|
|
_action=$1
|
2013-06-09 18:11:36 +00:00
|
|
|
_if=$2
|
2009-09-12 22:13:41 +00:00
|
|
|
|
2012-02-17 02:39:58 +00:00
|
|
|
# get the number of FIBs supported.
|
2012-11-17 21:44:02 +00:00
|
|
|
fibs=$((`${SYSCTL_N} net.fibs` - 1))
|
2015-02-06 00:02:00 +00:00
|
|
|
allfibs=`${SYSCTL_N} net.add_addr_allfibs`
|
|
|
|
if [ "$fibs" -gt 0 ] && [ "$allfibs" -ne 0 ]; then
|
2012-11-17 21:44:02 +00:00
|
|
|
fibmod="-fib 0-$fibs"
|
|
|
|
else
|
|
|
|
fibmod=
|
|
|
|
fi
|
2012-02-17 02:39:58 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Add pre-defined static routes first.
|
|
|
|
ipv6_static_routes="_v4mapped _v4compat ${ipv6_static_routes}"
|
|
|
|
ipv6_static_routes="_lla _llma ${ipv6_static_routes}"
|
|
|
|
|
2009-09-12 22:13:41 +00:00
|
|
|
# disallow "internal" addresses to appear on the wire
|
2013-06-09 18:11:36 +00:00
|
|
|
ipv6_route__v4mapped="::ffff:0.0.0.0 -prefixlen 96 ::1 -reject ${fibmod}"
|
|
|
|
ipv6_route__v4compat="::0.0.0.0 -prefixlen 96 ::1 -reject ${fibmod}"
|
2009-09-12 22:13:41 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Disallow link-local unicast packets without outgoing scope
|
|
|
|
# identifiers. However, if you set "ipv6_default_interface",
|
|
|
|
# for the host case, you will allow to omit the identifiers.
|
|
|
|
# Under this configuration, the packets will go to the default
|
|
|
|
# interface.
|
|
|
|
ipv6_route__lla="fe80:: -prefixlen 10 ::1 -reject ${fibmod}"
|
|
|
|
ipv6_route__llma="ff02:: -prefixlen 16 ::1 -reject ${fibmod}"
|
|
|
|
|
|
|
|
# Add default route.
|
2009-09-12 22:13:41 +00:00
|
|
|
case ${ipv6_defaultrouter} in
|
|
|
|
[Nn][Oo] | '')
|
|
|
|
;;
|
|
|
|
*)
|
2013-09-02 23:52:25 +00:00
|
|
|
ipv6_static_routes="${ipv6_static_routes} _default"
|
2013-06-09 18:11:36 +00:00
|
|
|
ipv6_route__default="default ${ipv6_defaultrouter}"
|
2009-09-12 22:13:41 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Install configured routes.
|
2009-09-12 22:13:41 +00:00
|
|
|
if [ -n "${ipv6_static_routes}" ]; then
|
|
|
|
for i in ${ipv6_static_routes}; do
|
2013-06-09 18:11:36 +00:00
|
|
|
_skip=0
|
|
|
|
if [ -n "$_if" ]; then
|
|
|
|
case $i in
|
|
|
|
*:$_if) ;;
|
|
|
|
*) _skip=1 ;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
if [ $_skip = 0 ]; then
|
|
|
|
ipv6_route_args=`get_if_var ${i%:*} ipv6_route_IF`
|
|
|
|
if [ -n "$ipv6_route_args" ]; then
|
|
|
|
${ROUTE_CMD} ${_action} \
|
|
|
|
-inet6 ${ipv6_route_args}
|
|
|
|
else
|
|
|
|
warn "route_${i%:*} not found"
|
|
|
|
fi
|
|
|
|
fi
|
2009-09-12 22:13:41 +00:00
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Install the "default interface" to kernel, which will be used
|
|
|
|
# as the default route when there's no router.
|
2009-09-12 22:13:41 +00:00
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
# Disable installing the default interface when we act
|
|
|
|
# as router to avoid conflict between the default
|
|
|
|
# router list and the manual configured default route.
|
2009-09-12 22:13:41 +00:00
|
|
|
if checkyesno ipv6_gateway_enable; then
|
2013-06-09 18:11:36 +00:00
|
|
|
return
|
1999-09-13 15:44:20 +00:00
|
|
|
fi
|
2009-09-12 22:13:41 +00:00
|
|
|
|
|
|
|
case "${ipv6_default_interface}" in
|
|
|
|
[Nn][Oo] | [Nn][Oo][Nn][Ee])
|
2013-06-09 18:11:36 +00:00
|
|
|
return
|
2009-09-12 22:13:41 +00:00
|
|
|
;;
|
|
|
|
[Aa][Uu][Tt][Oo] | "")
|
|
|
|
for i in ${ipv6_network_interfaces}; do
|
|
|
|
case $i in
|
2013-06-09 18:11:36 +00:00
|
|
|
[Nn][Oo][Nn][Ee])
|
|
|
|
return
|
|
|
|
;;
|
2014-11-09 21:33:01 +00:00
|
|
|
lo0)
|
2009-09-12 22:13:41 +00:00
|
|
|
continue
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
laddr=`network6_getladdr $i exclude_tentative`
|
|
|
|
case ${laddr} in
|
|
|
|
'')
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
ipv6_default_interface=$i
|
|
|
|
break
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2013-06-09 18:11:36 +00:00
|
|
|
ifconfig ${ipv6_default_interface} inet6 defaultif
|
|
|
|
sysctl net.inet6.ip6.use_defaultzone=1
|
2009-09-12 22:13:41 +00:00
|
|
|
}
|
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
static_atm()
|
2009-09-12 22:13:41 +00:00
|
|
|
{
|
2009-10-02 02:28:59 +00:00
|
|
|
local _action i route_args
|
2009-09-12 22:13:41 +00:00
|
|
|
_action=$1
|
|
|
|
|
2003-08-14 15:27:32 +00:00
|
|
|
if [ -n "${natm_static_routes}" ]; then
|
|
|
|
for i in ${natm_static_routes}; do
|
2009-09-12 22:13:41 +00:00
|
|
|
route_args=`get_if_var $i route_IF`
|
2013-06-09 18:11:36 +00:00
|
|
|
if [ -n "$route_args" ]; then
|
|
|
|
atmconfig natm ${_action} ${route_args}
|
|
|
|
else
|
|
|
|
warn "route_${i} not found."
|
|
|
|
fi
|
2003-08-14 15:27:32 +00:00
|
|
|
done
|
|
|
|
fi
|
2003-06-29 05:09:48 +00:00
|
|
|
}
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2008-06-23 04:00:45 +00:00
|
|
|
ropts_init()
|
|
|
|
{
|
|
|
|
if [ -z "${_ropts_initdone}" ]; then
|
2011-07-17 14:52:55 +00:00
|
|
|
echo -n "Additional $1 routing options:"
|
2008-06-23 04:00:45 +00:00
|
|
|
_ropts_initdone=yes
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
options_inet()
|
2003-06-29 05:09:48 +00:00
|
|
|
{
|
2011-07-17 14:52:55 +00:00
|
|
|
_ropts_initdone=
|
2009-09-12 22:13:41 +00:00
|
|
|
if checkyesno icmp_bmcastecho; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet
|
1999-09-13 15:44:20 +00:00
|
|
|
echo -n ' broadcast ping responses=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.bmcastecho=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.bmcastecho=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2009-09-12 22:13:41 +00:00
|
|
|
if checkyesno icmp_drop_redirect; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet
|
1999-09-13 15:44:20 +00:00
|
|
|
echo -n ' ignore ICMP redirect=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.drop_redirect=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.drop_redirect=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2009-09-12 22:13:41 +00:00
|
|
|
if checkyesno icmp_log_redirect; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet
|
1999-09-13 15:44:20 +00:00
|
|
|
echo -n ' log ICMP redirect=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.log_redirect=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.icmp.log_redirect=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2009-09-12 22:13:41 +00:00
|
|
|
if checkyesno gateway_enable; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet
|
|
|
|
echo -n ' gateway=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.ip.forwarding=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet.ip.forwarding=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
|
|
|
|
2014-09-15 07:20:40 +00:00
|
|
|
if checkyesno forward_sourceroute; then
|
|
|
|
ropts_init inet
|
|
|
|
echo -n ' do source routing=YES'
|
|
|
|
${SYSCTL} net.inet.ip.sourceroute=1 > /dev/null
|
|
|
|
else
|
|
|
|
${SYSCTL} net.inet.ip.sourceroute=0 > /dev/null
|
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2014-09-15 07:20:40 +00:00
|
|
|
if checkyesno accept_sourceroute; then
|
|
|
|
ropts_init inet
|
|
|
|
echo -n ' accept source routing=YES'
|
|
|
|
${SYSCTL} net.inet.ip.accept_sourceroute=1 > /dev/null
|
|
|
|
else
|
|
|
|
${SYSCTL} net.inet.ip.accept_sourceroute=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
if checkyesno arpproxy_all; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet
|
2009-10-02 02:28:59 +00:00
|
|
|
echo -n ' ARP proxyall=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.link.ether.inet.proxyall=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.link.ether.inet.proxyall=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
2011-07-17 14:52:55 +00:00
|
|
|
|
|
|
|
[ -n "${_ropts_initdone}" ] && echo '.'
|
2009-10-02 02:28:59 +00:00
|
|
|
}
|
1999-09-13 15:44:20 +00:00
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
options_inet6()
|
|
|
|
{
|
2011-07-17 14:52:55 +00:00
|
|
|
_ropts_initdone=
|
|
|
|
|
2009-10-02 02:28:59 +00:00
|
|
|
if checkyesno ipv6_gateway_enable; then
|
2011-07-17 14:52:55 +00:00
|
|
|
ropts_init inet6
|
|
|
|
echo -n ' gateway=YES'
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet6.ip6.forwarding=1 > /dev/null
|
2009-10-02 02:28:59 +00:00
|
|
|
else
|
2011-03-30 01:19:00 +00:00
|
|
|
${SYSCTL} net.inet6.ip6.forwarding=0 > /dev/null
|
2009-09-12 22:13:41 +00:00
|
|
|
fi
|
2011-07-17 14:52:55 +00:00
|
|
|
|
|
|
|
[ -n "${_ropts_initdone}" ] && echo '.'
|
2009-10-02 02:28:59 +00:00
|
|
|
}
|
2000-06-22 17:40:53 +00:00
|
|
|
|
2009-10-02 20:19:53 +00:00
|
|
|
options_atm()
|
|
|
|
{
|
2011-07-17 14:52:55 +00:00
|
|
|
_ropts_initdone=
|
|
|
|
|
|
|
|
[ -n "${_ropts_initdone}" ] && echo '.'
|
2009-10-02 20:19:53 +00:00
|
|
|
}
|
|
|
|
|
2002-07-18 05:00:17 +00:00
|
|
|
load_rc_config $name
|
2009-09-12 22:13:41 +00:00
|
|
|
run_rc_command "$@"
|