| Line 1... | 
            Line 1... | 
          
          
            | 1 | 
            #!/bin/bash
  | 
            1 | 
            #!/bin/bash
  | 
          
          
            | 2 | 
            #  $Id: alcasar.sh 1863 2016-05-03 12:18:07Z raphael.pion $ 
  | 
            2 | 
            #  $Id: alcasar.sh 1864 2016-05-03 12:45:00Z 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 1598... | 
            Line 1598... | 
          
          
            | 1598 | 
            # copy and extract toulouse BL
  | 
            1598 | 
            # copy and extract toulouse BL
  | 
          
          
            | 1599 | 
            	rm -rf $DIR_DG/lists/blacklists
  | 
            1599 | 
            	rm -rf $DIR_DG/lists/blacklists
  | 
          
          
            | 1600 | 
            	tar zxf $DIR_CONF/blacklists.tar.gz --directory=$DIR_DG/lists/ > /dev/null 2>&1
  | 
            1600 | 
            	tar zxf $DIR_CONF/blacklists.tar.gz --directory=$DIR_DG/lists/ > /dev/null 2>&1
  | 
          
          
            | 1601 | 
            # creation of the OSSI BL and WL categories (domain name and url)
  | 
            1601 | 
            # creation of the OSSI BL and WL categories (domain name and url)
  | 
          
          
            | 1602 | 
            	mkdir $DIR_DG/lists/blacklists/ossi
  | 
            1602 | 
            	mkdir $DIR_DG/lists/blacklists/ossi
  | 
          
          
            | 1603 | 
            	touch $DIR_DG/lists/blacklists/ossi/domains $DIR_DG/lists/blacklists/ossi/domains_wl
  | 
            1603 | 
            	touch $DIR_DG/lists/blacklists/ossi/domains
  | 
          
          
            | 1604 | 
            	touch $DIR_DG/lists/blacklists/ossi/urls $DIR_DG/lists/blacklists/ossi/urls_wl
  | 
            1604 | 
            	touch $DIR_DG/lists/blacklists/ossi/urls
  | 
          
          
            | 1605 | 
            	chown -R dansguardian:apache $DIR_DG $DIR_DEST_SHARE
  | 
            1605 | 
            	chown -R dansguardian:apache $DIR_DG $DIR_DEST_SHARE
  | 
          
          
            | 1606 | 
            	chmod -R g+rw $DIR_DG $DIR_DEST_SHARE
  | 
            1606 | 
            	chmod -R g+rw $DIR_DG $DIR_DEST_SHARE
  | 
          
          
            | 1607 | 
            # creation of file for the rehabilited domains and urls
  | 
            1607 | 
            # creation of file for the rehabilited domains and urls
  | 
          
          
            | 1608 | 
            	[ -e $DIR_DG/lists/exceptionsitelist.default ] || mv $DIR_DG/lists/exceptionsitelist $DIR_DG/lists/exceptionsitelist.default
  | 
            1608 | 
            	[ -e $DIR_DG/lists/exceptionsitelist.default ] || mv $DIR_DG/lists/exceptionsitelist $DIR_DG/lists/exceptionsitelist.default
  | 
          
          
            | 1609 | 
            	[ -e $DIR_DG/lists/exceptionurllist.default ] || mv $DIR_DG/lists/exceptionurllist $DIR_DG/lists/exceptionurllist.default
  | 
            1609 | 
            	[ -e $DIR_DG/lists/exceptionurllist.default ] || mv $DIR_DG/lists/exceptionurllist $DIR_DG/lists/exceptionurllist.default
  |