summaryrefslogtreecommitdiff
path: root/stage3
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2021-10-05 15:54:05 +0100
committerSerge Schneider <serge@raspberrypi.com>2021-10-05 17:26:51 +0100
commitac246e300bdd55005ab811bcd817f1221b328fd7 (patch)
tree753c046bb734bd99b3a14a7291331a6b97d13366 /stage3
parentd0eed3b76f0983dea8e9333007dd5e46caf3ba1e (diff)
Use raspi-config to toggle boot_wait
Diffstat (limited to 'stage3')
-rwxr-xr-xstage3/01-tweaks/00-run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/stage3/01-tweaks/00-run.sh b/stage3/01-tweaks/00-run.sh
index 5da7c1a..79b749e 100755
--- a/stage3/01-tweaks/00-run.sh
+++ b/stage3/01-tweaks/00-run.sh
@@ -1,3 +1,5 @@
#!/bin/bash -e
-rm -f "${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf"
+on_chroot << EOF
+ SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_wait 1
+EOF