]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/rootfiles/core/27/update.sh
Rootfile update
[people/pmueller/ipfire-2.x.git] / config / rootfiles / core / 27 / update.sh
CommitLineData
8b884986
CS
1#!/bin/bash
2. /opt/pakfire/lib/functions.sh
3/usr/local/bin/backupctrl exclude >/dev/null 2>&1
fe1656d2 4/etc/init.d/squid stop
8b884986 5extract_files
6d1c42ad
AF
6[ -e /var/ipfire/qos/enable ] && qosctrl stop
7qosctrl generate
8[ -e /var/ipfire/qos/enable ] && qosctrl start
f6f00a6b 9perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
8b884986 10sysctl -p
fe1656d2
CS
11mv /etc/squid/cachemgr.conf /var/ipfire/proxy/cachemgr.conf
12ln -sf /var/ipfire/proxy/cachemgr.conf /etc/squid/cachemgr.conf
13chown nobody.nobody /var/ipfire/proxy/cachemgr.conf
14/etc/init.d/squid start