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
 
