From: Hugo Villeneuve Date: Sun, 8 Dec 2013 00:02:57 +0000 (-0500) Subject: Fix error in named bootscript X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=73512917a9fa438924060e9e49a12bd31c4a1f3e;p=hvlinux.git Fix error in named bootscript --- diff --git a/stage3/bootscripts/named b/stage3/bootscripts/named index 6092d3f..da81576 100755 --- a/stage3/bootscripts/named +++ b/stage3/bootscripts/named @@ -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