diff options
Diffstat (limited to 'etc/rc.d/route6d')
-rwxr-xr-x | etc/rc.d/route6d | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/etc/rc.d/route6d b/etc/rc.d/route6d index c7afb96..5553303 100755 --- a/etc/rc.d/route6d +++ b/etc/rc.d/route6d @@ -19,16 +19,8 @@ name="route6d" # load_rc_config $name -case ${OSTYPE} in -FreeBSD) - rcvar="ipv6_router_enable" - command="${ipv6_router:-/usr/sbin/${name}}" - eval ${name}_flags=\"${ipv6_router_flags}\" - ;; -NetBSD) - rcvar=$name - command="/usr/sbin/${name}" - ;; -esac +rcvar="ipv6_router_enable" +command="${ipv6_router:-/usr/sbin/${name}}" +eval ${name}_flags=\"${ipv6_router_flags}\" run_rc_command "$1" |