Clean system group IDs
[hvlinux.git] / stage2 / pkg / dhcp
index 5f640d4..a25fe74 100644 (file)
@@ -5,8 +5,7 @@ hvconfig_pre()
     cd ${LFS_TMP}/${PACKAGE}
     sed -i 's%\(^sbindir =\).*%\1 @prefix@@sbindir@%' server/Makefile.in
 
-    CONFIGURE_OPTS="\
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --localstatedir=/var \
         --sbindir=/sbin \
         --with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
@@ -22,34 +21,6 @@ hvconfig_post()
 
 hvbuild_post()
 {
-    install -m 755 client/scripts/linux /sbin/dhclient-script
-
-    # This is for the DHCP client
-    cat > /etc/dhclient.conf << "EOF"
-# dhclient.conf
-
-timeout 15;
-
-interface "eth0"{
-  supersede domain-name "_DOMAIN_";
-  prepend domain-name-servers 127.0.0.1;
-  request subnet-mask, broadcast-address, time-offset, routers,
-          domain-name, domain-name-servers, host-name;
-  require subnet-mask, domain-name-servers;
-}
-EOF
-
-    sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /etc/dhclient.conf
-
-    cat > /etc/sysconfig/network/dhcp-client << "EOF"
-# dhcp-client
-# DHCP client program informations
-#
-DHCP_PROG="/sbin/dhclient"
-DHCP_START="-q -1"
-DHCP_STOP="-q -r"
-EOF
-
     # Create a base configuration file for a DHCP server.
     cat > /etc/dhcpd.conf << EOF
 # Configuration file for DHCP server.