export-noobs: keep 'quiet' in cmdline.txt

This commit is contained in:
Serge Schneider 2018-09-24 12:03:19 +01:00
parent 37da6846dd
commit 1133934111

View file

@ -29,7 +29,7 @@ if [ -f /settings/wpa_supplicant.conf ]; then
fi
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| init=/usr/lib/raspi-config/init_resize.sh||;s| quiet||2g' /tmp/1/cmdline.txt
fi
umount /tmp/1