1
0
Fork 0
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:
Jerry Vonau 2020-04-29 12:47:43 -05:00
parent 664b540fdb
commit ec7ad926d1

View file

@ -16,6 +16,7 @@ fi
if [ -f /run/netplan/wpa-$IFACE.conf ]; then
NETPLAN=1
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
# IIAB hint for NetworkManager
if [ -f /etc/iiab/iiab.env ]; then