Fixed bug in wifi code.

This commit is contained in:
Storm Dragon 2020-12-27 20:53:10 -05:00
parent 615ee19f4d
commit 405b9341c1
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ wget "${url[$imageVersion]}" -O- | bsdtar -xpf - -C /mnt
if [[ -n "${imageWifi}" ]]; then
mkdir -p "/mnt/etc/netctl"
cp -v "${imageWifi}" "/mnt/etc/netctl/mycroft"
sed -i "s/Interface=.*/Interface=wlan0/" "${imageWifi}" "/mnt/etc/netctl/mycroft"
sed -i "s/Interface=.*/Interface=wlan0/" "/mnt/etc/netctl/mycroft"
fi
# Create Mycroft service file
cat << 'EOF' > /mnt/etc/systemd/system/mycroft.service