dracut/0039-ifcfg-write-ifcfg.sh-fixed-typo.patch
Harald Hoyer 61c4978036 dracut-026-48.git20130315
- use new initrd.target from systemd
- fixed rescue generation
2013-03-15 07:18:23 +01:00

23 lines
866 B
Diff

From e0e99c59a585e55361eb589aeab1d8f443165eef Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 14 Mar 2013 17:54:15 +0100
Subject: [PATCH] ifcfg/write-ifcfg.sh: fixed typo
---
modules.d/45ifcfg/write-ifcfg.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
index 773dc51..f7a476c 100755
--- a/modules.d/45ifcfg/write-ifcfg.sh
+++ b/modules.d/45ifcfg/write-ifcfg.sh
@@ -120,7 +120,7 @@ for netif in $IFACES ; do
echo "IPV6_AUTOCONF=no"
echo "IPV6ADDR=$ip/$mask"
else
- if [-f /tmp/net.$netif.has_ibft_config ]; then
+ if [ -f /tmp/net.$netif.has_ibft_config ]; then
echo "BOOTPROTO=ibft"
else
echo "BOOTPROTO=none"