Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-07-31 14:49:28 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-11 00:17:56 +0300
commit6f8d55351085257457ffd8ecd7a31b045a577689 (patch)
tree6b7564c47ca6f852d4452269fcfe92f1897dcdba
parentc5c5a8eab0301e6fd94f9df2631bc3a059e17da4 (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.sh2
-rw-r--r--etc/nextcloudpi-config.d/nc-scan-auto.sh2
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() { :; }