aboutsummaryrefslogtreecommitdiffstats
path: root/export-noobs/00-release
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2017-03-06 11:49:13 +0000
committerSerge Schneider <[email protected]>2017-03-06 11:49:13 +0000
commit7748ed0df1b311ac12dbffb1c52f50317c1851bf (patch)
treebc6ad223579c64f3877f90cc5599553dd98d4512 /export-noobs/00-release
parentb0be14afdfda24e93a8cad757018ef6ca1c50047 (diff)
Copy wpa_supplicant.conf from NOOBS
Diffstat (limited to 'export-noobs/00-release')
-rw-r--r--export-noobs/00-release/files/partition_setup.sh4
1 files changed, 4 insertions, 0 deletions
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