mirror of
https://gitlab.com/robocopAlpha/pihole_lists.git
synced 2026-05-18 02:42:25 -07:00
minor changes
- logs the number of items in individual blocklists (easier to troubleshoot) - seting logfile in set_env - unzip overwrites files while updating.
This commit is contained in:
parent
83c90411b7
commit
808b31d0d1
4 changed files with 9 additions and 9 deletions
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
[[ -f set_env.sh ]] && source set_env.sh || { echo "set_env.sh not found"; exit 1; }
|
||||
|
||||
LOGFILE="${WRK_DIR}/pull.log"
|
||||
if [ ! -f "$LOGFILE" ] ; then
|
||||
touch "$LOGFILE"
|
||||
fi
|
||||
|
||||
# Mounting storage
|
||||
if df | grep -c dropbox > /dev/null; then
|
||||
umount "${HOME_DIR}/dropbox" || sudo umount "${HOME_DIR}/dropbox"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue