From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel =?utf-8?q?Weism=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH] core137: Remove imq0 and unload imq module after QoS has been stopped Date: Fri, 18 Oct 2019 16:59:49 +0200 Message-ID: <20191018145949.15910-1-daniel.weismueller@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2281076602712523728==" List-Id: --===============2281076602712523728== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Daniel Weism=C3=BCller --- 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 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 =20 +# 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 =20 --=20 2.12.2 --===============2281076602712523728==--