kernel-module-qualcomm: reduce console log level to load wireless module
At the point this script is running from udev (the system log is not yet available), so to avoid debug messages from qualcomm wireless module reduce the console log level. https://jira.digi.com/browse/DEL-4570 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
13dae1c00a
commit
6f0b8a7356
|
|
@ -100,6 +100,9 @@ esac
|
||||||
)
|
)
|
||||||
|
|
||||||
# Load the wireless module with the params defined in modprobe.d/qualcomm.conf
|
# Load the wireless module with the params defined in modprobe.d/qualcomm.conf
|
||||||
|
# and reduce the console log level to avoid debug messages at boot time
|
||||||
|
LOGLEVEL="$(sed -ne 's,^kernel.printk[^=]*=[[:blank:]]*\(.*\)$,\1,g;T;p' /etc/sysctl.conf 2>/dev/null)"
|
||||||
|
[ -n "${LOGLEVEL}" ] && sysctl -q -w kernel.printk="${LOGLEVEL}"
|
||||||
modprobe wlan
|
modprobe wlan
|
||||||
|
|
||||||
# Verify the interface is present
|
# Verify the interface is present
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue