Enable wifi, if copied over.

This commit is contained in:
Storm Dragon 2020-12-27 12:53:33 -05:00
parent bd9f77b122
commit 815c5f024d
1 changed files with 3 additions and 0 deletions

View File

@ -222,6 +222,9 @@ echo mycroft > /etc/hostname
# Enable services
systemctl enable mycroft sshd
if [[ -n "${imageWifi}" ]]; then
netctl enable "${imageWifi##*/}"
fi
# Update fstab for Raspberry Pi 4.
#[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab
EOF