Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1857 → Rev 1856

/scripts/alcasar-bl.sh
44,6 → 44,12
mkdir $DIR_tmp
cp $DIR_IP_BL/ossi $DIR_tmp
 
if [ ! -e $DIR_DNS_WL/ossi.conf ]
then
touch $DIR_DNS_WL/ossi.conf
chown apache $DIR_DNS_WL/ossi.conf
ln -s $DIR_DNS_WL/ossi.conf $DIR_DNS_WL_ENABLED/ossi
fi
 
if [ -d $DIR_IP_BL_ENABLED ]
then
66,22 → 72,7
mkdir $DIR_IP_WL_ENABLED
chown apache $DIR_IP_WL_ENABLED
fi
 
 
 
if [ ! -e $DIR_IP_WL_ENABLED/ossi ]
then
touch $DIR_IP_WL_ENABLED/ossi
chown apache $DIR_IP_WL_ENABLED/ossi
fi
 
if [ ! -e $DIR_DNS_WL/ossi.conf ]
then
touch $DIR_DNS_WL/ossi.conf
chown apache $DIR_DNS_WL/ossi.conf
ln -s $DIR_DNS_WL/ossi.conf $DIR_DNS_WL_ENABLED/ossi
fi
 
if [ -d $DIR_DNS_BL_ENABLED ]
then
for file in `ls -1 $DIR_DNS_BL_ENABLED | grep -v "^ossi-*"`
277,4 → 268,3
;;
esac