I am not happy about this. It shouldn't be the job of dracut to do this. The initscripts should
deal with the plain /dev/.initramfs/ifcfg/ directory accordingly. Doing this for now because
notting insists upon it. We need to clean this up after we network option passing working.
cp -a /tmp/ifcfg/ /dev/.initramfs/ >/dev/null 2>&1
fi
+# XXX: Temporary hack until we have a better plan
+if [ -d /dev/.initramfs/ifcfg ]; then
+ mkdir -p /dev/.initramfs/etc/sysconfig/
+ mv /dev/.initramfs/ifcfg/ /dev/.initramfs/etc/sysconfig/network-scripts/
+fi
+
exec switch_root "$NEWROOT" "$INIT" $initargs || {
# davej doesn't like initrd bugs
echo "Something went very badly wrong in the initrd. Please "