Subversion Repositories ALCASAR

Rev

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

Rev 685 Rev 842
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-bl.sh 685 2011-07-26 21:42:41Z richard $
2
# $Id: alcasar-bl.sh 842 2012-03-19 21:26:52Z 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 150... Line 150...
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
			rm -rf /tmp/con_ok.html
153
			rm -rf /tmp/con_ok.html
154
		fi
154
		fi
155
			DATE=`date '+%d %B %Y - %Hh%M'`
-
 
156
			echo "Univ-tlse du $DATE " > /var/www/html/VERSION-BL
-
 
157
		;;		
155
		;;		
158
	# Adaptation de la BL à notre structure 'dnsmasq + DG)
156
	# Adaptation de la BL à notre structure 'dnsmasq + DG)
159
	-adapt | --adapt)
157
	-adapt | --adapt)
160
		adapt
158
		adapt
161
		cat_choice
159
		cat_choice