| Line 1... |
Line 1... |
| 1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
| 2 |
# $Id: alcasar.sh 1899 2016-05-19 08:58:02Z raphael.pion $
|
2 |
# $Id: alcasar.sh 1903 2016-05-19 12:14: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 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/
|
1638 |
mv $DIR_CONF/ossi-tor_node_ip $DIR_DEST_SHARE/iptables-bl-enabled/
|
| 1639 |
chown dansguardian:apache $DIR_DEST_SHARE/iptables-bl-enabled/ossi-tor_node.txt
|
1639 |
chown dansguardian:apache $DIR_DEST_SHARE/iptables-bl-enabled/ossi-tor_node_ip
|
| - |
|
1640 |
chmod g+w $DIR_DEST_SHARE/iptables-bl-enabled/ossi-tor_node_ip
|
| 1640 |
fi
|
1641 |
fi
|
| 1641 |
}
|
1642 |
}
|
| 1642 |
|
1643 |
|
| 1643 |
##########################################################
|
1644 |
##########################################################
|
| 1644 |
## Fonction "cron" ##
|
1645 |
## Fonction "cron" ##
|