mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
Wifi Country Code might in the middle of dmesg line (not on the right)
This commit is contained in:
parent
e319b394e8
commit
eecf6f8306
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@
|
|||
ignore_errors: True
|
||||
|
||||
- name: Detect country code passed from cmdline in dmesg
|
||||
shell: dmesg | grep -m1 'cfg80211\.ieee80211_regdom=' | awk -F 'cfg80211\.ieee80211_regdom=' '{print $2}'
|
||||
shell: dmesg | grep -om1 'cfg80211\.ieee80211_regdom=\S*' | cut -d= -f2
|
||||
register: cmdline_country_code
|
||||
ignore_errors: True
|
||||
|
||||
|
|
Loading…
Reference in a new issue