Copy wpa_supplicant.conf from NOOBS
This commit is contained in:
parent
b0be14afdf
commit
7748ed0df1
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ if [ -e /mnt/ssh.txt ]; then
|
||||||
cp /mnt/ssh.txt /tmp/1/
|
cp /mnt/ssh.txt /tmp/1/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e /settings/wpa_supplicant.conf ]; then
|
||||||
|
cp /settings/wpa_supplicant.conf /tmp/1/
|
||||||
|
fi
|
||||||
|
|
||||||
if ! grep -q resize /proc/cmdline; then
|
if ! grep -q resize /proc/cmdline; then
|
||||||
sed -i 's| quiet init=/usr/lib/raspi-config/init_resize.sh||' /tmp/1/cmdline.txt
|
sed -i 's| quiet init=/usr/lib/raspi-config/init_resize.sh||' /tmp/1/cmdline.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue