aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-03-30 14:34:12 +0200
committerHarald Hoyer <harald@redhat.com>2011-03-30 14:34:12 +0200
commit8fc0f2605f4746c879b21d40d31b256e5775b682 (patch)
tree68bded0456af124330c6ee70f5d28eaf24a91e67 /sysconfig
parent5bb9c661652d0836f47ac47fcac15248ada1ab05 (diff)
downloadinitscripts-8fc0f2605f4746c879b21d40d31b256e5775b682.tar
initscripts-8fc0f2605f4746c879b21d40d31b256e5775b682.tar.gz
initscripts-8fc0f2605f4746c879b21d40d31b256e5775b682.tar.bz2
initscripts-8fc0f2605f4746c879b21d40d31b256e5775b682.tar.xz
initscripts-8fc0f2605f4746c879b21d40d31b256e5775b682.zip
ifup-eth: use /run/initramfs rather then /dev/.run/initramfs
Diffstat (limited to 'sysconfig')
-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 b81234d2..15ec66c5 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -178,7 +178,7 @@ if [ -n "${DYNCONFIG}" ] && [ -x /sbin/dhclient ]; then
DHCLIENTCONF='';
fi;
# copy any lease obtained by the initrd
- for file in /dev/.dhclient-${DEVICE}.leases /dev/{.run/initramfs,.initramfs}/net.${DEVICE}.lease ; do
+ for file in /dev/.dhclient-${DEVICE}.leases /dev/.initramfs/net.${DEVICE}.lease /run/initramfs/net.${DEVICE}.lease; do
if [ -f "${file}" ]; then
mv -f $file /var/lib/dhclient/dhclient-${DEVICE}.leases
[ -x /sbin/restorecon ] && restorecon /var/lib/dhclient/dhclient-${DEVICE}.leases > /dev/null 2>&1