]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "Revert "core137: Remove imq0 and unload imq module after QoS has been stopped""
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 21 Oct 2019 19:00:19 +0000 (19:00 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 21 Oct 2019 19:00:19 +0000 (19:00 +0000)
This reverts commit 39c4ed442714451e380d45c9837547a081a80f6f.

config/rootfiles/core/137/update.sh

index f2e83fc77cc1d82437fb3e3b836356288fb8c25e..5b0e6982f76c12d50068a99a793f3658baf6d3c6 100644 (file)
@@ -82,6 +82,12 @@ rm -rf /lib/modules
 
 # Stop services
 
+# Delete imq0 if it is still present after QoS has been stopped
+if [ -d "/sys/class/net/imq0" ]; then
+       ip link del dev imq0
+       modprobe -r imq
+fi
+
 # Extract files
 extract_files