Blame tests/p_squid/0-install_squid.sh
|
Athmane Madjoudj |
765ebf |
#!/bin/bash
|
|
Athmane Madjoudj |
765ebf |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
765ebf |
|
|
Athmane Madjoudj |
765ebf |
t_Log "$0 - installing Squid"
|
|
Athmane Madjoudj |
765ebf |
t_InstallPackage squid
|
|
Athmane Madjoudj |
51566d |
|
|
Athmane Madjoudj |
51566d |
# Add host entry
|
|
Athmane Madjoudj |
51566d |
echo "127.0.0.1 `hostname`" >> /etc/hosts
|
|
Athmane Madjoudj |
51566d |
|
|
Athmane Madjoudj |
51566d |
service squid restart
|
|
 |
c86d2c |
t_CheckForPort 3128
|
|
 |
c86d2c |
|