Copy wpa_supplicant.conf from NOOBS
This commit is contained in:
parent
b0be14afdf
commit
7748ed0df1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user