output some more information in nc-backup-auto and nc-scan-auto

This commit is contained in:
nachoparker 2017-07-31 13:49:28 +02:00
parent c5c5a8eab0
commit 6f8d553510
2 changed files with 4 additions and 0 deletions

View File

@ -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() { :; }

View File

@ -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() { :; }