mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
netplan country= workaround
This commit is contained in:
parent
664b540fdb
commit
ec7ad926d1
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ fi
|
||||||
if [ -f /run/netplan/wpa-$IFACE.conf ]; then
|
if [ -f /run/netplan/wpa-$IFACE.conf ]; then
|
||||||
NETPLAN=1
|
NETPLAN=1
|
||||||
SSID=`grep ssid /run/netplan/wpa-$IFACE.conf | awk -F = '{print $2}' | sed -r s/\"// | sed -r s/\"//`
|
SSID=`grep ssid /run/netplan/wpa-$IFACE.conf | awk -F = '{print $2}' | sed -r s/\"// | sed -r s/\"//`
|
||||||
|
sed 's|ctrl_interface=/run/wpa_supplicant|&\ncountry={{ host_country_code }}|' /run/netplan/wpa-$IFACE.conf
|
||||||
fi
|
fi
|
||||||
# IIAB hint for NetworkManager
|
# IIAB hint for NetworkManager
|
||||||
if [ -f /etc/iiab/iiab.env ]; then
|
if [ -f /etc/iiab/iiab.env ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue