1
0
Fork 0
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:
A Holt 2025-01-24 10:06:30 -05:00 committed by GitHub
parent e319b394e8
commit eecf6f8306
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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