]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/core/137/update.sh
Revert "core137: Remove imq0 and unload imq module after QoS has been stopped"
[ipfire-2.x.git] / config / rootfiles / core / 137 / update.sh
index 8c8019b908ae4da5ffb3c3d86840b98bdf09f47e..267a10ae6422f80b64050071b54a1c4b82b23082 100644 (file)
@@ -77,11 +77,11 @@ 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
 
 # Stop services
+/usr/local/bin/qosctrl stop
 
 # Extract files
 extract_files
@@ -93,6 +93,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