From f48920d84f72235c5141e32772d5c8a447f9900e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Weism=C3=BCller?= Date: Fri, 18 Oct 2019 16:59:49 +0200 Subject: [PATCH] core137: Remove imq0 and unload imq module after QoS has been stopped MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weismüller Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/137/update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/rootfiles/core/137/update.sh b/config/rootfiles/core/137/update.sh index da87f94307..dcbd8112ad 100644 --- a/config/rootfiles/core/137/update.sh +++ b/config/rootfiles/core/137/update.sh @@ -83,6 +83,12 @@ rm -rf /lib/modules # Stop services /usr/local/bin/qosctrl stop +# 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 -- 2.39.5