diff options
author | Harald Hoyer <harald@redhat.com> | 2011-03-18 17:19:26 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-03-18 18:23:44 +0100 |
commit | 19f3a804e75cbce2de7cc0b01e8c3db1f37297b7 (patch) | |
tree | 02b165305df058c18b043b0852c4ec4df2743d04 /modules.d/45ifcfg | |
parent | 519d339233fa5a99ec36e9cb6285b428eaeb0944 (diff) | |
download | dracut-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-x | modules.d/45ifcfg/write-ifcfg.sh | 12 |
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 |