summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/etcnet/adddhcp.patch
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/etcnet/adddhcp.patch
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/etcnet/adddhcp.patch')
-rwxr-xr-xabs/core-testing/etcnet/adddhcp.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/abs/core-testing/etcnet/adddhcp.patch b/abs/core-testing/etcnet/adddhcp.patch
new file mode 100755
index 0000000..ee7b782
--- /dev/null
+++ b/abs/core-testing/etcnet/adddhcp.patch
@@ -0,0 +1,51 @@
+diff -ruN etc/net/ifaces/default/options /etc/net/ifaces/default/options
+--- etc/net/ifaces/default/options 2005-08-02 08:26:44.000000000 +0000
++++ /etc/net/ifaces/default/options 2005-10-24 16:20:07.000000000 +0000
+@@ -24,7 +24,7 @@
+ # /etc/net will try to configure interface at the first succeeding
+ # method. Note that etcnet will process routes and rules despite of
+ # BOOTPROTO.
+-BOOTPROTO=static
++BOOTPROTO=dhcp
+
+ # Defines if the interface will be automatically brought up during
+ # system startup or 'service network start' invocation.
+diff -ruN etc/net/scripts/config-ipv4 /etc/net/scripts/config-ipv4
+--- etc/net/scripts/config-ipv4 2005-08-10 08:08:40.000000000 +0000
++++ /etc/net/scripts/config-ipv4 2005-10-24 16:48:49.000000000 +0000
+@@ -1,5 +1,5 @@
+ #!/bin/bash
+-
++#set -x
+ . $SCRIPTDIR/functions
+ pickup_options
+
+diff -ruN etc/net/scripts/ifup /etc/net/scripts/ifup
+--- etc/net/scripts/ifup 2005-09-16 18:38:01.000000000 +0000
++++ /etc/net/scripts/ifup 2005-10-24 16:42:12.000000000 +0000
+@@ -1,5 +1,5 @@
+ #!/bin/bash
+-
++#set -x
+ # This script is intended to be run from command-line or etcnet
+ # initscript. It determines if the iface should be created, then
+ # creates the device and calls ifup-common to do the rest.
+diff -ruN etc/net/scripts/ifup-common /etc/net/scripts/ifup-common
+--- etc/net/scripts/ifup-common 2005-08-03 09:03:26.000000000 +0000
++++ /etc/net/scripts/ifup-common 2005-10-24 16:42:51.000000000 +0000
+@@ -1,5 +1,5 @@
+ #!/bin/bash
+-
++#set -x
+ # This script continues configuration of an interface started by ifup,
+ # ifup-removable or ifup-ifplugd scripts. We assume that all necessary
+ # checks are done yet.
+diff -ruN etc/net/scripts/network.init /etc/net/scripts/network.init
+--- etc/net/scripts/network.init 2005-09-29 12:54:32.000000000 +0000
++++ /etc/net/scripts/network.init 2005-10-24 16:41:17.000000000 +0000
+@@ -1,4 +1,5 @@
+ #!/bin/bash
++#set -x
+ #
+ # network
+ # chkconfig: 2345 10 90