From c83c6a6cbcdbdd9aa0e7a5c1de360a450f39b603 Mon Sep 17 00:00:00 2001 From: everest Date: Mon, 2 May 2022 16:43:14 +0000 Subject: [PATCH] Update glacier-cache-clear.sh --- scripts/glacier-cache-clear.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/glacier-cache-clear.sh b/scripts/glacier-cache-clear.sh index 96003a7..4dfe4fc 100644 --- a/scripts/glacier-cache-clear.sh +++ b/scripts/glacier-cache-clear.sh @@ -2,6 +2,10 @@ # glacier-cache-clear # Script used to clear Glacier's cache +# Glacier preloading + +source /etc/glacier.conf + # Require the script to be run as root if [[ $(/usr/bin/id -u) -ne 0 ]]; then printf "\033[1;31m [ $error ] \033[m Please run Glacier as root."