From 9421a9c5ddda972a1c6672704ab2f6115e2229c9 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 19 Jul 2006 14:55:20 +0000 Subject: force-move the lease file () --- sysconfig/network-scripts/ifup-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index c3ff1709..586c565e 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -167,7 +167,7 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then fi; # copy any lease obtained by the initrd if [ -f /dev/.dhclient-${DEVICE}.leases ] ; then - mv /dev/.dhclient-${DEVICE}.leases /var/lib/dhclient/dhclient-${DEVICE}.leases + mv -f /dev/.dhclient-${DEVICE}.leases /var/lib/dhclient/dhclient-${DEVICE}.leases fi DHCLIENTARGS="${DHCLIENTARGS} ${ONESHOT} -q ${DHCLIENTCONF} -lf /var/lib/dhclient/dhclient-${DEVICE}.leases -pf /var/run/dhclient-${DEVICE}.pid" echo -- cgit