diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-07-31 14:49:28 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-08-11 00:17:56 +0300 |
commit | 6f8d55351085257457ffd8ecd7a31b045a577689 (patch) | |
tree | 6b7564c47ca6f852d4452269fcfe92f1897dcdba | |
parent | c5c5a8eab0301e6fd94f9df2631bc3a059e17da4 (diff) |
output some more information in nc-backup-auto and nc-scan-autov0.18.3
-rw-r--r-- | etc/nextcloudpi-config.d/nc-backup-auto.sh | 2 | ||||
-rw-r--r-- | etc/nextcloudpi-config.d/nc-scan-auto.sh | 2 |
2 files changed, 4 insertions, 0 deletions
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() { :; } |