Gentoo Archives: gentoo-commits

From: "Naoaki Shindo (shindo)" <shindo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/ja/handbook: hb-net-functions.xml
Date: Mon, 23 Jun 2008 23:32:13
Message-Id: E1KAvW3-000480-IG@stork.gentoo.org
1 shindo 08/06/23 23:32:07
2
3 Modified: hb-net-functions.xml
4 Log:
5 sync to 1.11. Adding abstract and some code example deleted.
6
7 Revision Changes Path
8 1.3 xml/htdocs/doc/ja/handbook/hb-net-functions.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml?rev=1.3&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml?rev=1.3&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml?r1=1.2&r2=1.3
13
14 Index: hb-net-functions.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml,v
17 retrieving revision 1.2
18 retrieving revision 1.3
19 diff -u -r1.2 -r1.3
20 --- hb-net-functions.xml 18 Sep 2006 18:15:00 -0000 1.2
21 +++ hb-net-functions.xml 23 Jun 2008 23:32:07 -0000 1.3
22 @@ -4,15 +4,21 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml,v 1.2 2006/09/18 18:15:00 idani Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/ja/handbook/hb-net-functions.xml,v 1.3 2008/06/23 23:32:07 shindo Exp $ -->
28
29 -<!-- Original revision: 1.8 -->
30 +<!-- Original revision: 1.11 -->
31 <!-- Translator: igarashi -->
32
33 <sections>
34
35 -<version>7.0</version>
36 -<date>2006-08-30</date>
37 +<abstract>
38 +If you're feeling adventurous, you can add your own functions to networking.
39 +もしあなたが冒険好きだったら、あなた独自の関数をネットワークの仕組みに組み込むことができます。
40 +</abstract>
41 +
42 +
43 +<version>8.0</version>
44 +<date>2007-05-07</date>
45
46 <section>
47 <title>標準フック関数</title>
48 @@ -41,14 +47,6 @@
49 <pre caption="pre/post up/down関数の例">
50 preup() {
51 <comment># 起動前のインターフェースの物理接続テスト。一部のネットワークアダプタ
52 - # にのみ有効です。mii-diagパッケージがインストールされている
53 - # 必要があります。</comment>
54 - if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then
55 - ewarn "No link on ${IFACE}, aborting configuration"
56 - return 1
57 - fi
58 -
59 - <comment># 起動前のインターフェースの物理接続テスト。一部のネットワークアダプタ
60 # にのみ有効です。ethtoolパッケージがインストールされている
61 # 必要があります。</comment>
62 if ethtool ${IFACE} | grep -q 'Link detected: no'; then
63
64
65
66 --
67 gentoo-commits@l.g.o mailing list