44,12 → 44,6 |
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 |
72,7 → 66,22 |
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-*"` |
268,3 → 277,4 |
;; |
esac |
|
|