From: Daniel Weismüller Date: Fri, 18 Oct 2019 14:59:49 +0000 (+0200) Subject: core137: Remove imq0 and unload imq module after QoS has been stopped X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f48920d84f72235c5141e32772d5c8a447f9900e;p=people%2Fms%2Fipfire-2.x.git core137: Remove imq0 and unload imq module after QoS has been stopped Signed-off-by: Daniel Weismüller Signed-off-by: Arne Fitzenreiter --- 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