From da78c18ee42914d8c298df8be1734f15f81ad037 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 9 Sep 2008 15:30:47 +0000 Subject: [PATCH] fix to work on AIX git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/makenamed.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/makenamed.conf b/xCAT-server/sbin/makenamed.conf index 2609fce89..57d952809 100755 --- a/xCAT-server/sbin/makenamed.conf +++ b/xCAT-server/sbin/makenamed.conf @@ -6,7 +6,9 @@ FILE=/etc/named.conf if [ -f $FILE ]; then cp -f $FILE ${FILE}.ORIG fi - +if [ ! -d /var/named ]; then + mkdir "/var/named" +fi echo "options { directory \"/var/named\"; dump-file \"/var/named/data/cache_dump.db\";