Fixed bug in wifi code.
This commit is contained in:
1 parent
615ee19f4d
commit
405b9341c1
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user