nightmorph 07/03/07 01:00:20 Modified: hb-install-sparc-kernel.xml hb-net-functions.xml Log: mii-tool is deprecated, thanks to robbat2 & kingtaco for pointing it out on IRC
Revision Changes Path 1.25 xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.25&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.25&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?r1=1.24&r2=1.25 Index: hb-install-sparc-kernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- hb-install-sparc-kernel.xml 26 Feb 2007 08:54:53 -0000 1.24 +++ hb-install-sparc-kernel.xml 7 Mar 2007 01:00:20 -0000 1.25 @@ -4,12 +4,12 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.24 2007/02/26 08:54:53 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.25 2007/03/07 01:00:20 nightmorph Exp $ --> <sections> -<version>7.1</version> -<date>2007-02-26</date> +<version>7.2</version> +<date>2007-03-06</date> <section> <title>Timezone</title> @@ -247,7 +247,7 @@ <p> When you have a 4-port Ethernet machine (10/100 or 10/100/1000) the port order is different from the one used by Solaris. You can use <c>sys-apps/ethtool</c> -or <c>mii-tool</c> to check the port link status. +to check the port link status. </p> <p> 1.10 xml/htdocs/doc/en/handbook/hb-net-functions.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml?rev=1.10&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml?r1=1.9&r2=1.10 Index: hb-net-functions.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- hb-net-functions.xml 28 Oct 2006 09:17:55 -0000 1.9 +++ hb-net-functions.xml 7 Mar 2007 01:00:20 -0000 1.10 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.9 2006/10/28 09:17:55 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.10 2007/03/07 01:00:20 nightmorph Exp $ --> <sections> @@ -12,8 +12,8 @@ If you're feeling adventurous, you can add your own functions to networking. </abstract> -<version>7.0</version> -<date>2006-08-30</date> +<version>7.1</version> +<date>2007-03-06</date> <section> <title>Standard function hooks</title> @@ -46,14 +46,6 @@ <pre caption="pre/post up/down function examples"> preup() { <comment># Test for link on the interface prior to bringing it up. This - # only works on some network adapters and requires the mii-diag - # package to be installed.</comment> - if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then - ewarn "No link on ${IFACE}, aborting configuration" - return 1 - fi - - <comment># Test for link on the interface prior to bringing it up. This # only works on some network adapters and requires the ethtool # package to be installed.</comment> if ethtool ${IFACE} | grep -q 'Link detected: no'; then -- [email protected] mailing list
