From 41a4c6ed2f68293fecf48310355d5a7fc7f824a4 Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Mon, 18 Jan 2016 09:46:00 +0000 Subject: [PATCH] add opt out for autoupdates to git update init --- init/30_update_plex.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index 20a6f15..22cec41 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -1,4 +1,8 @@ #!/bin/bash + +# opt out for autoupdates +[ "$ADVANCED_DISABLEUPDATES" ] && exit 0 + export DEBIAN_FRONTEND=noninteractive while ! ping -c1 tools.linuxserver.io &>/dev/null; do :; done