diff --git a/arcroft/build-arcroft.sh b/arcroft/build-arcroft.sh index 7e01656..0fd0aca 100755 --- a/arcroft/build-arcroft.sh +++ b/arcroft/build-arcroft.sh @@ -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