--- trunk/magellan-initscripts/etc/rc.d/init.d/network 2005/03/15 19:07:56 71 +++ trunk/magellan-initscripts/etc/rc.d/init.d/network 2005/08/03 17:54:05 181 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/network,v 1.3 2005-03-15 19:07:56 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/network,v 1.4 2005-08-03 17:54:05 niro Exp $ #%rlevels: 0:k 1:k 2:k 3:s 4:s 5:s 6:k #%start: 20 @@ -64,6 +64,10 @@ *) source ${network_settings}/net.${interface} || exit 1 checkconfig + + # first set mac address forcing + [ -n "${FORCE_MAC_TO}" ] && ifconfig ${interface} hw ether "${FORCE_MAC_TO}" + case "${NETWORKING}" in dhcp) echo -e ${COLOREDSTAR}"Bringing up interface ${COLBLUE}${interface}${COLDEFAULT} ..."