Subversion Repositories ALCASAR

Rev

Rev 1874 | Rev 1899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1874 Rev 1886
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
 
2
 
3
# $Id: alcasar-bl.sh 1874 2016-05-06 14:43:52Z raphael.pion $
3
# $Id: alcasar-bl.sh 1886 2016-05-12 15:36:52Z raphael.pion $
4
 
4
 
5
# alcasar-bl.sh
5
# alcasar-bl.sh
6
# by Franck BOUIJOUX and Richard REY
6
# by Franck BOUIJOUX and Richard REY
7
# This script is distributed under the Gnu General Public License (GPL)
7
# This script is distributed under the Gnu General Public License (GPL)
8
 
8
 
Line 99... Line 99...
99
	#dns WL ossi.conf 
99
	#dns WL ossi.conf 
100
	if [ ! -e $DIR_DNS_WL/ossi.conf ]
100
	if [ ! -e $DIR_DNS_WL/ossi.conf ]
101
	then
101
	then
102
		touch $DIR_DNS_WL/ossi.conf
102
		touch $DIR_DNS_WL/ossi.conf
103
		chown apache $DIR_DNS_WL/ossi.conf
103
		chown apache $DIR_DNS_WL/ossi.conf
-
 
104
		if [ ! -e $DIR_DNS_WL_ENABLED/ossi ]
-
 
105
		then
104
		ln -s $DIR_DNS_WL/ossi.conf $DIR_DNS_WL_ENABLED/ossi
106
		ln -s $DIR_DNS_WL/ossi.conf $DIR_DNS_WL_ENABLED/ossi
-
 
107
		fi
105
	fi
108
	fi
106
 
109
 
107
	# update categories with rsync
110
	# update categories with rsync
108
	if [ ! -e $DIR_CONF/update_cat.conf ]
111
	if [ ! -e $DIR_CONF/update_cat.conf ]
109
	then
112
	then