Copy wpa_supplicant.conf from NOOBS

pull/55/head
Serge Schneider 2017-03-06 11:49:13 +00:00
parent b0be14afdf
commit 7748ed0df1
1 changed files with 4 additions and 0 deletions

View File

@ -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