mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update iiab-test-wifi.j2
document the reason for the netplan stanza
This commit is contained in:
parent
738a28bd45
commit
713c30e8ff
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ if [ -f /etc/wpa_supplicant/wpa_supplicant.conf ]; then
|
|||
SSID=`grep ssid /etc/wpa_supplicant/wpa_supplicant.conf | awk -F = '{print $2}' | sed -r s/\"// | sed -r s/\"//`
|
||||
fi
|
||||
|
||||
# covers netplan
|
||||
# covers netplan's bugs workaround
|
||||
# https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1862760
|
||||
# https://bugs.launchpad.net/netplan/+bug/1951586
|
||||
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/\"//`
|
||||
|
|
Loading…
Add table
Reference in a new issue