]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/rootfiles/oldcore/27/update.sh
rootfiles: Fix any files that lack a newline at the end
[people/pmueller/ipfire-2.x.git] / config / rootfiles / oldcore / 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
b1930044
CS
6[ -e /var/ipfire/qos/enable ] && /usr/local/bin/qosctrl stop
7/usr/local/bin/qosctrl generate
8[ -e /var/ipfire/qos/enable ] && /usr/local/bin/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
83e6fa56 14/etc/init.d/squid start