aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-07-19 14:55:20 +0000
committerBill Nottingham <notting@redhat.com>2006-07-19 14:55:20 +0000
commit9421a9c5ddda972a1c6672704ab2f6115e2229c9 (patch)
treeaa61ec405967976f3827e20d489cc233f1862056 /sysconfig/network-scripts
parent338d390986d219a996e8c7e854e58a9344ee9346 (diff)
downloadinitscripts-9421a9c5ddda972a1c6672704ab2f6115e2229c9.tar
initscripts-9421a9c5ddda972a1c6672704ab2f6115e2229c9.tar.gz
initscripts-9421a9c5ddda972a1c6672704ab2f6115e2229c9.tar.bz2
initscripts-9421a9c5ddda972a1c6672704ab2f6115e2229c9.tar.xz
initscripts-9421a9c5ddda972a1c6672704ab2f6115e2229c9.zip
force-move the lease file (<markmc@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
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