etc/iwd/main.conf: add egrep to the check/refresh command

This commit is contained in:
Aminda Suomalainen 2023-01-22 21:06:46 +02:00
parent 86b2bbabcb
commit d2dc35b2d1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -5,7 +5,7 @@
# local ISP in my neighbourhood is incorrectly advertising DE rathar than FI # local ISP in my neighbourhood is incorrectly advertising DE rathar than FI
# so Lumina gets it wrong. Luckily FI and DE share regulation judging by # so Lumina gets it wrong. Luckily FI and DE share regulation judging by
# https://archive.softwareheritage.org/swh:1:cnt:3f74194de9b0bdcf6052b505067363f17427c28f;origin=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;visit=swh:1:snp:1b8d84b34965cbea94ad57200121527c5ad51616;anchor=swh:1:rev:fe05cc94e070c71486047002fc2edf68f5f2a07a;path=/db.txt # https://archive.softwareheritage.org/swh:1:cnt:3f74194de9b0bdcf6052b505067363f17427c28f;origin=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;visit=swh:1:snp:1b8d84b34965cbea94ad57200121527c5ad51616;anchor=swh:1:rev:fe05cc94e070c71486047002fc2edf68f5f2a07a;path=/db.txt
# To check/refresh regdomain, `iw dev wlan0 scan` # To check/refresh regdomain, `iw wlan0 scan | egrep -e "SSID:|Country:"`
Country=FI Country=FI
# legacy compatibility, at least on Lumina? # legacy compatibility, at least on Lumina?
use_default_interface=true use_default_interface=true