Changeset 3164f4b in bootscripts-standard


Ignore:
Timestamp:
Dec 21, 2008, 5:45:12 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
1f11ff2
Parents:
fac9335
Message:

Default the dhcp bootscript to eth0 with the ability to override with DHCP_ARGS setin /etc/sysconfig/dhcp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cblfs/init.d/dhcp

    rfac9335 r3164f4b  
    1010. /etc/sysconfig/rc
    1111. $rc_functions
     12. /etc/sysconfig/dhcp
    1213
    1314case "$1" in
    1415        start)
    1516                boot_mesg "Starting DHCP Server..."
    16                 loadproc /usr/sbin/dhcpd -q eth1
     17                loadproc /usr/sbin/dhcpd ${DHCP_ARGS--q eth0}
    1718                ;;
    1819
Note: See TracChangeset for help on using the changeset viewer.