The swap.state file may be broken and so we delete this here and
let squid rebuild the cache at the next start.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# Stop services
+/etc/init.d/squid stop
# Remove checkfstab
rm -f /etc/rc.d/init.d/checkfstab
# Update Language cache
#/usr/local/bin/update-lang-cache
+# Remove potentially broken squid cache index (will be recreated after the next start)
+rm -f /var/log/cache/swap.state
+
# Start services
/etc/init.d/dnsmasq restart
+/etc/init.d/squid start
sync
# This update need a reboot...