This commit is contained in:
2019-12-01 21:43:13 +01:00
parent 95282df19e
commit 429611c31c

View File

@@ -1,6 +1,7 @@
#!/usr/bin/with-contenv bash
mkdir /encrypted
rclone mount --daemon --allow-other gcache:/ /encrypted
rm -Rf /root/.cache
rclone mount --daemon --allow-other gcache:/ /encrypted --log-file /tmp/rclone.log --log-level DEBUG
while [ ! -f "/encrypted/gocryptfs.conf" ]
do
echo "Waiting for gocryptfs.conf to appear..."