]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/oldcore/137/update.sh
Merge branch 'next'
[ipfire-2.x.git] / config / rootfiles / oldcore / 137 / update.sh
similarity index 94%
rename from config/rootfiles/core/138/update.sh
rename to config/rootfiles/oldcore/137/update.sh
index e65955501751701770bb85f73766a6cd97904fe7..f2e83fc77cc1d82437fb3e3b836356288fb8c25e 100644 (file)
@@ -24,7 +24,7 @@
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
 
-core=138
+core=137
 
 exit_with_error() {
        # Set last succesfull installed core.
@@ -77,7 +77,6 @@ rm -rf /boot/zImage-*-ipfire-*
 rm -rf /boot/uInit-*-ipfire-*
 rm -rf /boot/dtb-*-ipfire-*
 rm -rf /lib/modules
-rm -f  /etc/sysconfig/lm_sensors
 
 # Remove files
 
@@ -86,8 +85,6 @@ rm -f  /etc/sysconfig/lm_sensors
 # Extract files
 extract_files
 
-# update dhcpcd.conf
-
 # update linker config
 ldconfig
 
@@ -95,6 +92,17 @@ ldconfig
 /usr/local/bin/update-lang-cache
 
 # Start services
+/usr/local/bin/ipsecctrl S
+/etc/init.d/suricata restart
+/etc/init.d/unbound restart
+/etc/init.d/collectd restart
+
+# remove lm_sensor config after collectd was started
+# to reserch sensors at next boot with updated kernel
+rm -f  /etc/sysconfig/lm_sensors
+
+# generate new qos script
+/usr/local/bin/qosctrl generate
 
 # Search sensors again after reboot into the new kernel
 rm -f  /etc/sysconfig/lm_sensors