summaryrefslogtreecommitdiff
path: root/modules.d/45ifcfg
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-03-18 17:19:26 +0100
committerHarald Hoyer <harald@redhat.com>2011-03-18 18:23:44 +0100
commit19f3a804e75cbce2de7cc0b01e8c3db1f37297b7 (patch)
tree02b165305df058c18b043b0852c4ec4df2743d04 /modules.d/45ifcfg
parent519d339233fa5a99ec36e9cb6285b428eaeb0944 (diff)
downloaddracut-19f3a804e75cbce2de7cc0b01e8c3db1f37297b7.tar.gz
dracut-19f3a804e75cbce2de7cc0b01e8c3db1f37297b7.tar.bz2
dracut-19f3a804e75cbce2de7cc0b01e8c3db1f37297b7.zip
s#/dev/.run#/run#g
Move things where they really belong to.
Diffstat (limited to 'modules.d/45ifcfg')
-rwxr-xr-xmodules.d/45ifcfg/write-ifcfg.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
index b845ccb9..fe72dbe5 100755
--- a/modules.d/45ifcfg/write-ifcfg.sh
+++ b/modules.d/45ifcfg/write-ifcfg.sh
@@ -134,9 +134,9 @@ for netif in $IFACES ; do
done
# Pass network opts
-mkdir -p /dev/.run/initramfs
-cp /tmp/net.* /dev/.run/initramfs/ >/dev/null 2>&1
-mkdir -p /dev/.run/initramfs/state/etc/sysconfig/network-scripts/
-cp /tmp/net.$netif.resolv.conf /dev/.run/initramfs/state/etc/ >/dev/null 2>&1
-echo "files /etc/sysconfig/network-scripts" > /dev/.run/initramfs/rwtab
-cp -a /tmp/ifcfg/* /dev/.run/initramfs/state/etc/sysconfig/network-scripts/ >/dev/null 2>&1
+mkdir -p /run/initramfs
+cp /tmp/net.* /run/initramfs/ >/dev/null 2>&1
+mkdir -p /run/initramfs/state/etc/sysconfig/network-scripts/
+cp /tmp/net.$netif.resolv.conf /run/initramfs/state/etc/ >/dev/null 2>&1
+echo "files /etc/sysconfig/network-scripts" > /run/initramfs/rwtab
+cp -a /tmp/ifcfg/* /run/initramfs/state/etc/sysconfig/network-scripts/ >/dev/null 2>&1