From 7748ed0df1b311ac12dbffb1c52f50317c1851bf Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 6 Mar 2017 11:49:13 +0000 Subject: [PATCH] Copy wpa_supplicant.conf from NOOBS --- export-noobs/00-release/files/partition_setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/export-noobs/00-release/files/partition_setup.sh b/export-noobs/00-release/files/partition_setup.sh index 02a7520..cff6d29 100644 --- a/export-noobs/00-release/files/partition_setup.sh +++ b/export-noobs/00-release/files/partition_setup.sh @@ -24,6 +24,10 @@ if [ -e /mnt/ssh.txt ]; then cp /mnt/ssh.txt /tmp/1/ fi +if [ -e /settings/wpa_supplicant.conf ]; then + cp /settings/wpa_supplicant.conf /tmp/1/ +fi + if ! grep -q resize /proc/cmdline; then sed -i 's| quiet init=/usr/lib/raspi-config/init_resize.sh||' /tmp/1/cmdline.txt fi