Subversion Repositories ALCASAR

Rev

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

Rev 1898 Rev 1899
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1898 2016-05-18 16:33:55Z richard $ 
2
#  $Id: alcasar.sh 1899 2016-05-19 08:58:02Z raphael.pion $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 1633... Line 1633...
1633
	$SED "s?safe=vss?safe=strict?g" $DIR_DG/lists/urlregexplist
1633
	$SED "s?safe=vss?safe=strict?g" $DIR_DG/lists/urlregexplist
1634
# adapt the BL to ALCASAR architecture. Enable the default categories
1634
# adapt the BL to ALCASAR architecture. Enable the default categories
1635
	if [ "$mode" != "update" ]; then
1635
	if [ "$mode" != "update" ]; then
1636
		$DIR_DEST_BIN/alcasar-bl.sh --adapt
1636
		$DIR_DEST_BIN/alcasar-bl.sh --adapt
1637
		$DIR_DEST_BIN/alcasar-bl.sh --cat_choice
1637
		$DIR_DEST_BIN/alcasar-bl.sh --cat_choice
-
 
1638
		mv $DIR_CONF/ossi-tor_node.txt  $DIR_DEST_SHARE/iptables-bl-enabled/
-
 
1639
		chown dansguardian:apache $DIR_DEST_SHARE/iptables-bl-enabled/ossi-tor_node.txt
1638
	fi
1640
	fi
1639
}
1641
}
1640
 
1642
 
1641
##########################################################
1643
##########################################################
1642
##		Fonction "cron"				##
1644
##		Fonction "cron"				##