Message ID | 20191018145949.15910-1-daniel.weismueller@ipfire.org |
---|---|
State | Accepted |
Commit | f48920d84f72235c5141e32772d5c8a447f9900e |
Headers | |
Series | core137: Remove imq0 and unload imq module after QoS has been stopped | |
Commit Message
diff --git a/config/rootfiles/core/137/update.sh b/config/rootfiles/core/137/update.sh index da87f9430..dcbd8112a 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