mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-15 05:22:59 +02:00
core137: Remove imq0 and unload imq module after QoS has been stopped
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
596c71d07f
commit
f48920d84f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user