Subversion Repositories ALCASAR

Rev

Rev 672 | Rev 842 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 672 Rev 685
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-bl.sh 672 2011-07-08 15:34:22Z richard $
2
# $Id: alcasar-bl.sh 685 2011-07-26 21:42:41Z richard $
3
 
3
 
4
# alcasar-bl.sh
4
# alcasar-bl.sh
5
# by Franck BOUIJOUX and Richard REY
5
# by Franck BOUIJOUX and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 148... Line 148...
148
		else 
148
		else 
149
			transfert
149
			transfert
150
			install
150
			install
151
			chown -R dansguardian:apache $DIR_DG
151
			chown -R dansguardian:apache $DIR_DG
152
			chmod -R g+w $DIR_DG
152
			chmod -R g+w $DIR_DG
153
			DATE=`date '+%d %B %Y - %Hh%M'`
-
 
154
			echo "Univ-tlse du $DATE " > /var/www/html/VERSION-BL
-
 
155
			rm -rf /tmp/con_ok.html
153
			rm -rf /tmp/con_ok.html
156
		fi
154
		fi
-
 
155
			DATE=`date '+%d %B %Y - %Hh%M'`
-
 
156
			echo "Univ-tlse du $DATE " > /var/www/html/VERSION-BL
157
		;;		
157
		;;		
158
	# Adaptation de laBL à notre structure 'dnsmasq + DG)
158
	# Adaptation de la BL à notre structure 'dnsmasq + DG)
159
	-adapt | --adapt)
159
	-adapt | --adapt)
160
		adapt
160
		adapt
161
		cat_choice
161
		cat_choice