diff --git a/etc/nextcloudpi-config.d/nc-backup-auto.sh b/etc/nextcloudpi-config.d/nc-backup-auto.sh index 31da44741..ad6996651 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 ef7c5d7ed..d57bf97bf 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() { :; }