From e15017d69aa80446b6371e806b2d75632ff98814 Mon Sep 17 00:00:00 2001 From: Athrogate Date: Fri, 14 Aug 2020 19:22:49 -0400 Subject: [PATCH] Update 20-start.sh Signed-off-by: Tyler Spires --- s6/debian-root/etc/cont-init.d/20-start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/s6/debian-root/etc/cont-init.d/20-start.sh b/s6/debian-root/etc/cont-init.d/20-start.sh index 10d58f7..3275925 100644 --- a/s6/debian-root/etc/cont-init.d/20-start.sh +++ b/s6/debian-root/etc/cont-init.d/20-start.sh @@ -14,7 +14,9 @@ $bashCmd /start.sh if [ -n "$PYTEST" ]; then sed -i 's/^gravity_spinup$/#gravity_spinup # DISABLED FOR PYTEST/g' "$(which gravity.sh)" fi -gravity.sh +if [ ! -n "$SKIPGRAVITYONBOOT" ]; then + gravity.sh +fi # Kill dnsmasq because s6 won't like it if it's running when s6 services start kill -9 $(pgrep pihole-FTL) || true