Fix error in named bootscript
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 8 Dec 2013 00:02:57 +0000 (19:02 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:25 +0000 (22:15 -0400)
stage3/bootscripts/named

index 6092d3f..da81576 100755 (executable)
@@ -9,9 +9,9 @@ log_script_name "$0 $*"
 source /etc/sysconfig/network/network-parameters
 
 # Check if NFS server functionality is desired
-if ["x${DNS_SERVER_ENA}" != "xyes" -a \
-    "x${DNS_SERVER_ENA}" != "xYes" -a \
-    "x${DNS_SERVER_ENA}" != "xYES" ]; then
+if [ "x${DNS_SERVER_ENA}" != "xyes" -a \
+     "x${DNS_SERVER_ENA}" != "xYes" -a \
+     "x${DNS_SERVER_ENA}" != "xYES" ]; then
     msg_log "DNS server disabled in '/etc/sysconfig/network/network-parameters'"
     exit ${EXIT_CODE_SUCCESS}
 fi