1013,6 → 1013,9 |
echo "never_direct allow all" >> /etc/squid/squid.conf |
# avoid error messages on network interfaces state changes |
$SED "s?^SQUID_AUTO_RELOAD.*?SQUID_AUTO_RELOAD=no?g" /etc/sysconfig/squid |
# reduce squid shutdown time (100 to 50) |
$SED "s?^SQUID_SHUTDOWN_TIMEOUT.*?SQUID_SHUTDOWN_TIMEOUT=50?g" /etc/sysconfig/squid |
|
# Squid cache init |
/usr/sbin/squid -z |
} # End of param_squid () |
1076,6 → 1079,7 |
if [ "$havp_exist" == "1" ] |
then |
userdel -r havp 2>/dev/null |
groupdel havp 2>/dev/null |
fi |
groupadd -f havp |
useradd -r -g havp -s /bin/false -c "system user for havp" havp |