From 815c5f024d6c940983ab11be407c3bb18f7cf9e9 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 27 Dec 2020 12:53:33 -0500 Subject: [PATCH] Enable wifi, if copied over. --- arcroft/build-arcroft.sh | 3 +++ 1 file changed, 3 insertions(+) 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