diff options
author | Harald Hoyer <harald@redhat.com> | 2010-10-28 17:10:46 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-10-28 17:11:35 +0200 |
commit | 6ef8e5b4d3d2dac7cc7adb2cb7a1825cf9db9bad (patch) | |
tree | aeeb0c1bfa653cadbb207fcf64439c27cc42f348 /modules.d/45ifcfg | |
parent | 9bfff3746fc56cbaab0f1e561fe435352a6c8410 (diff) | |
download | dracut-6ef8e5b4d3d2dac7cc7adb2cb7a1825cf9db9bad.tar.gz dracut-6ef8e5b4d3d2dac7cc7adb2cb7a1825cf9db9bad.tar.bz2 dracut-6ef8e5b4d3d2dac7cc7adb2cb7a1825cf9db9bad.zip |
mkdir /dev/.initramfs with "-p"
Diffstat (limited to 'modules.d/45ifcfg')
-rwxr-xr-x | modules.d/45ifcfg/write-ifcfg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index 022467b6..bc67dd60 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -134,7 +134,7 @@ for netif in $IFACES ; do done # Pass network opts -mkdir /dev/.initramfs/ +mkdir -p /dev/.initramfs cp /tmp/net.* /dev/.initramfs/ >/dev/null 2>&1 mkdir -p /dev/.initramfs/state/etc/sysconfig/network-scripts/ cp /tmp/net.$netif.resolv.conf /dev/.initramfs/state/etc/ >/dev/null 2>&1 |