summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/routing
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/routing')
-rwxr-xr-xetc/rc.d/routing33
1 files changed, 4 insertions, 29 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 284aa7d..c37c706 100755
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -33,7 +33,7 @@ routing_start()
esac
case $_af in
- inet|inet6|ipx|atm)
+ inet|inet6|atm)
if afexists $_af; then
setroutes $_cmd $_af $_if
else
@@ -41,7 +41,7 @@ routing_start()
fi
;;
""|[Aa][Ll][Ll]|[Aa][Nn][Yy])
- for _a in inet inet6 ipx atm; do
+ for _a in inet inet6 atm; do
afexists $_a && setroutes $_cmd $_a $_if
done
;;
@@ -62,7 +62,7 @@ routing_stop()
esac
case $_af in
- inet|inet6|ipx|atm)
+ inet|inet6|atm)
if afexists $_af; then
eval static_${_af} delete $_if
# When $_if is specified, do not flush routes.
@@ -74,7 +74,7 @@ routing_stop()
fi
;;
""|[Aa][Ll][Ll]|[Aa][Nn][Yy])
- for _a in inet inet6 ipx atm; do
+ for _a in inet inet6 atm; do
afexists $_a || continue
eval static_${_a} delete $_if
# When $_if is specified, do not flush routes.
@@ -127,11 +127,6 @@ routing_stop_atm()
return 0
}
-routing_stop_ipx()
-{
- return 0
-}
-
static_inet()
{
local _action _if _skip
@@ -290,11 +285,6 @@ static_atm()
fi
}
-static_ipx()
-{
- :
-}
-
ropts_init()
{
if [ -z "${_ropts_initdone}" ]; then
@@ -387,20 +377,5 @@ options_atm()
[ -n "${_ropts_initdone}" ] && echo '.'
}
-options_ipx()
-{
- _ropts_initdone=
-
- if checkyesno ipxgateway_enable; then
- ropts_init ipx
- echo -n ' gateway=YES'
- ${SYSCTL} net.ipx.ipx.ipxforwarding=1 > /dev/null
- else
- ${SYSCTL} net.ipx.ipx.ipxforwarding=0 > /dev/null
- fi
-
- [ -n "${_ropts_initdone}" ] && echo '.'
-}
-
load_rc_config $name
run_rc_command "$@"
OpenPOWER on IntegriCloud