]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
ifcfg/write-ifcfg.sh: fixed typo
authorHarald Hoyer <harald@redhat.com>
Thu, 14 Mar 2013 16:54:15 +0000 (17:54 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 14 Mar 2013 17:30:35 +0000 (18:30 +0100)
modules.d/45ifcfg/write-ifcfg.sh

index 773dc51c6429f2e3263c3ba41e4ec6d83da55a30..f7a476cd3ba9b29e825d15087fbfe53843bed0d5 100755 (executable)
@@ -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"