Date: Sat, 11 Jun 2011 21:41:44 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222997 - head/etc/rc.d Message-ID: <201106112141.p5BLfidN093287@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Sat Jun 11 21:41:44 2011 New Revision: 222997 URL: http://svn.freebsd.org/changeset/base/222997 Log: - Remove $ipv6_gateway_enable check. - Use list_net_interfaces() instead of "ifconfig -l". Modified: head/etc/rc.d/rtadvd Modified: head/etc/rc.d/rtadvd ============================================================================== --- head/etc/rc.d/rtadvd Sat Jun 11 21:40:37 2011 (r222996) +++ head/etc/rc.d/rtadvd Sat Jun 11 21:41:44 2011 (r222997) @@ -18,12 +18,6 @@ start_precmd="rtadvd_precmd" rtadvd_precmd() { - if ! checkyesno ipv6_gateway_enable ; then - warn \ - "${name} cannot be used on IPv6 host, only on an IPv6 router." - return 1 - fi - # This should be enabled with a great care. # You may want to fine-tune /etc/rtadvd.conf. # @@ -42,7 +36,7 @@ rtadvd_precmd() # case ${rtadvd_interfaces} in [Aa][Uu][Tt][Oo]|'') - for i in `ifconfig -l` ; do + for i in `list_net_interfaces`; do case $i in lo0) continue ;; esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106112141.p5BLfidN093287>