#!/bin/bash
ifdown eth0
/etc/init.d/networking restart
squid -k shutdown

sleep 10
echo “Proses squid di matikan”
sleep 2
echo “menghapus cache”
rm -rf /cache/*
sleep 45
echo “cache dihapus”
echo “membuat struktur file baru”
squid -z
sleep 5
squid -NDdl &
ifup eth0
/etc/init.d/networking restart
exit