23 lines
866 B
Diff
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"
|