Fixed bug in wifi code.
This commit is contained in:
parent
615ee19f4d
commit
405b9341c1
@ -148,7 +148,7 @@ wget "${url[$imageVersion]}" -O- | bsdtar -xpf - -C /mnt
|
|||||||
if [[ -n "${imageWifi}" ]]; then
|
if [[ -n "${imageWifi}" ]]; then
|
||||||
mkdir -p "/mnt/etc/netctl"
|
mkdir -p "/mnt/etc/netctl"
|
||||||
cp -v "${imageWifi}" "/mnt/etc/netctl/mycroft"
|
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
|
fi
|
||||||
# Create Mycroft service file
|
# Create Mycroft service file
|
||||||
cat << 'EOF' > /mnt/etc/systemd/system/mycroft.service
|
cat << 'EOF' > /mnt/etc/systemd/system/mycroft.service
|
||||||
|
Loading…
Reference in New Issue
Block a user