[2864f08] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
| 5 | %general-entities; |
---|
| 6 | ]> |
---|
| 7 | |
---|
| 8 | <sect1 id="ch-beyond-net-netplug" role="wrap"> |
---|
| 9 | <?dbhtml filename="netplug.html"?> |
---|
| 10 | |
---|
| 11 | <title>Netplug-&netplug-version;</title> |
---|
| 12 | |
---|
| 13 | <indexterm zone="ch-beyond-net-netplug"> |
---|
| 14 | <primary sortas="a-Netplug">Netplug</primary> |
---|
| 15 | </indexterm> |
---|
| 16 | |
---|
| 17 | <sect2 role="package"> |
---|
| 18 | <title/> |
---|
| 19 | |
---|
| 20 | <para>Netplug is a daemon that detects insertion and removal of network |
---|
| 21 | cables and reacts to bring up or take down the network interface.</para> |
---|
| 22 | |
---|
| 23 | </sect2> |
---|
| 24 | |
---|
| 25 | <sect2 role="installation"> |
---|
| 26 | <title>Installation of Netplug</title> |
---|
| 27 | |
---|
| 28 | <para>Patch netplug to fix issues:</para> |
---|
| 29 | |
---|
| 30 | <screen><userinput>patch -Np1 -i ../&netplug-patch;</userinput></screen> |
---|
| 31 | |
---|
| 32 | <para os="f">Compile the package:</para> |
---|
| 33 | |
---|
| 34 | <screen os="g"><userinput>make</userinput></screen> |
---|
| 35 | |
---|
| 36 | <para os="h">Install the package:</para> |
---|
| 37 | |
---|
| 38 | <screen os="i"><userinput>make DESTDIR=${CLFS}/targetfs install</userinput></screen> |
---|
| 39 | |
---|
| 40 | </sect2> |
---|
| 41 | |
---|
| 42 | <sect2 role="bootscripts"> |
---|
| 43 | <title>Installation of Netplug Bootscripts</title> |
---|
| 44 | |
---|
| 45 | <para os="l">From the clfs-bootscripts package, install the Netplug |
---|
| 46 | bootscripts:</para> |
---|
| 47 | |
---|
| 48 | <screen os="m"><userinput>make install-netplug DESTDIR=${CLFS}/targetfs</userinput></screen> |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | </sect2> |
---|
| 52 | |
---|
| 53 | <sect2 id="contents-netplug" role="content"> |
---|
| 54 | <title>Contents of Netplug</title> |
---|
| 55 | |
---|
| 56 | <segmentedlist> |
---|
| 57 | <segtitle>Installed programs</segtitle> |
---|
| 58 | |
---|
| 59 | <seglistitem> |
---|
| 60 | <seg>/sbin/netplugd</seg> |
---|
| 61 | </seglistitem> |
---|
| 62 | </segmentedlist> |
---|
| 63 | |
---|
| 64 | </sect2> |
---|
| 65 | |
---|
| 66 | </sect1> |
---|