bloginfo

Script de mise à jour de la blacklist SquidGuard sur CentOS

Nov 9th, 2012 (edited)
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/bash
  2. cd /var/lib/squidguard
  3. if [ -f blacklists.tar.gz ]
  4. then
  5.     rm -f blacklists.tar.gz
  6. fi
  7. wget -q http://dsi.ut-capitole.fr/blacklists/download/blacklists.tar.gz
  8. tar zxvf blacklists.tar.gz
  9. /usr/bin/squidguard -C all -d
  10. chown squid:squid * -R
  11. service squid reload
Add Comment
Please, Sign In to add comment