From 6f8d55351085257457ffd8ecd7a31b045a577689 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Mon, 31 Jul 2017 13:49:28 +0200 Subject: output some more information in nc-backup-auto and nc-scan-auto --- etc/nextcloudpi-config.d/nc-backup-auto.sh | 2 ++ etc/nextcloudpi-config.d/nc-scan-auto.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/nextcloudpi-config.d/nc-backup-auto.sh b/etc/nextcloudpi-config.d/nc-backup-auto.sh index 31da4474..ad699665 100644 --- a/etc/nextcloudpi-config.d/nc-backup-auto.sh +++ b/etc/nextcloudpi-config.d/nc-backup-auto.sh @@ -44,6 +44,7 @@ configure() [[ $ACTIVE_ != "yes" ]] && { systemctl stop nc-backup.timer systemctl disable nc-backup.timer + echo "automatic backups disabled" return 0 } @@ -108,6 +109,7 @@ EOF systemctl daemon-reload systemctl enable nc-backup.timer systemctl start nc-backup.timer + echo "automatic backups enabled" } cleanup() { :; } diff --git a/etc/nextcloudpi-config.d/nc-scan-auto.sh b/etc/nextcloudpi-config.d/nc-scan-auto.sh index ef7c5d7e..d57bf97b 100644 --- a/etc/nextcloudpi-config.d/nc-scan-auto.sh +++ b/etc/nextcloudpi-config.d/nc-scan-auto.sh @@ -48,6 +48,7 @@ configure() [[ $ACTIVE_ != "yes" ]] && { systemctl stop nc-scan.timer systemctl disable nc-scan.timer + echo "automatic scans disabled" return 0 } @@ -67,6 +68,7 @@ EOF systemctl daemon-reload systemctl enable nc-scan.timer systemctl start nc-scan.timer + echo "automatic scans enabled" } cleanup() { :; } -- cgit v1.2.3