diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-11-07 03:59:19 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-11-07 03:59:28 +0300 |
commit | 1b251419bc6207edbb0d0b6e8da51e911747e2c0 (patch) | |
tree | 65bb77e6a215de1a2bd2be59c933876dfc7b1b19 | |
parent | ac8aa1c2c2761d88e4a99c008d4e2c092f922d90 (diff) |
dont fail removing cronfilev0.66.2
-rw-r--r-- | changelog.md | 8 | ||||
-rw-r--r-- | etc/ncp-config.d/DDNS_freeDNS.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-autoupdate-nc.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-autoupdate-ncp.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-backup-auto.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-notify-updates.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-rsync-auto.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-scan-auto.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-snapshot-auto.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-snapshot-sync.sh | 2 |
10 files changed, 14 insertions, 12 deletions
diff --git a/changelog.md b/changelog.md index de9e7da7..50073bf9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,11 @@ -[v0.66.1](https://github.com/nextcloud/nextcloudpi/commit/4189f1f) (2018-11-04) nc-info: speedup +[v0.66.2](https://github.com/nextcloud/nextcloudpi/commit/74ce141) (2018-11-06) dont fail removing cronfile -[v0.66.0](https://github.com/nextcloud/nextcloudpi/commit/c36e794) (2018-11-04) add nc-hdd-monitor +[v0.66.1 ](https://github.com/nextcloud/nextcloudpi/commit/089bebb) (2018-11-04) nc-info: speedup -[v0.65.0 ](https://github.com/nextcloud/nextcloudpi/commit/ab65f41) (2018-11-03) add nc-test-hdd +[v0.66.0 ](https://github.com/nextcloud/nextcloudpi/commit/3cd1cd5) (2018-11-04) add nc-hdd-monitor + +[v0.65.0 ](https://github.com/nextcloud/nextcloudpi/commit/6138183) (2018-11-03) add nc-test-hdd [v0.64.12](https://github.com/nextcloud/nextcloudpi/commit/5e7f3da) (2018-11-03) docker: fix provisioning on a stopped the container diff --git a/etc/ncp-config.d/DDNS_freeDNS.sh b/etc/ncp-config.d/DDNS_freeDNS.sh index 713bda20..15ea4612 100644 --- a/etc/ncp-config.d/DDNS_freeDNS.sh +++ b/etc/ncp-config.d/DDNS_freeDNS.sh @@ -24,7 +24,7 @@ install() configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/freeDNS + rm -f /etc/cron.d/freeDNS service cron restart echo "FreeDNS client is disabled" return 0 diff --git a/etc/ncp-config.d/nc-autoupdate-nc.sh b/etc/ncp-config.d/nc-autoupdate-nc.sh index cee93aab..a090fb1e 100644 --- a/etc/ncp-config.d/nc-autoupdate-nc.sh +++ b/etc/ncp-config.d/nc-autoupdate-nc.sh @@ -18,7 +18,7 @@ VERSION=14.0.3 configure() { [[ "$ACTIVE_" != "yes" ]] && { - rm /etc/cron.daily/ncp-autoupdate-nc + rm -f /etc/cron.daily/ncp-autoupdate-nc echo "automatic Nextcloud updates disabled" return 0 } diff --git a/etc/ncp-config.d/nc-autoupdate-ncp.sh b/etc/ncp-config.d/nc-autoupdate-ncp.sh index aa304cef..fbbee1b3 100644 --- a/etc/ncp-config.d/nc-autoupdate-ncp.sh +++ b/etc/ncp-config.d/nc-autoupdate-ncp.sh @@ -15,7 +15,7 @@ DESCRIPTION="Automatically apply NextCloudPi updates" configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.daily/ncp-autoupdate + rm -f /etc/cron.daily/ncp-autoupdate echo "automatic NextCloudPi updates disabled" return 0 } diff --git a/etc/ncp-config.d/nc-backup-auto.sh b/etc/ncp-config.d/nc-backup-auto.sh index 629c7dd9..3c10d3d0 100644 --- a/etc/ncp-config.d/nc-backup-auto.sh +++ b/etc/ncp-config.d/nc-backup-auto.sh @@ -19,7 +19,7 @@ DESCRIPTION="Periodic backups" configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/ncp-backup-auto + rm -f /etc/cron.d/ncp-backup-auto service cron restart echo "automatic backups disabled" return 0 diff --git a/etc/ncp-config.d/nc-notify-updates.sh b/etc/ncp-config.d/nc-notify-updates.sh index fcc29d25..c66c9ddf 100644 --- a/etc/ncp-config.d/nc-notify-updates.sh +++ b/etc/ncp-config.d/nc-notify-updates.sh @@ -20,7 +20,7 @@ NCDIR=/var/www/nextcloud configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/ncp-notify-updates + rm -f /etc/cron.d/ncp-notify-updates service cron restart echo "update web notifications disabled" return 0 diff --git a/etc/ncp-config.d/nc-rsync-auto.sh b/etc/ncp-config.d/nc-rsync-auto.sh index 449b593f..becf806e 100644 --- a/etc/ncp-config.d/nc-rsync-auto.sh +++ b/etc/ncp-config.d/nc-rsync-auto.sh @@ -25,7 +25,7 @@ install() configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/ncp-rsync-auto + rm -f /etc/cron.d/ncp-rsync-auto echo "automatic rsync disabled" return 0 } diff --git a/etc/ncp-config.d/nc-scan-auto.sh b/etc/ncp-config.d/nc-scan-auto.sh index 89bafdb2..0d30f84f 100644 --- a/etc/ncp-config.d/nc-scan-auto.sh +++ b/etc/ncp-config.d/nc-scan-auto.sh @@ -20,7 +20,7 @@ INFO="Set the time in minutes in SCANINTERVAL. configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/ncp-scan-auto + rm -f /etc/cron.d/ncp-scan-auto service cron restart echo "automatic scans disabled" return 0 diff --git a/etc/ncp-config.d/nc-snapshot-auto.sh b/etc/ncp-config.d/nc-snapshot-auto.sh index d486a5a0..03eb25ae 100644 --- a/etc/ncp-config.d/nc-snapshot-auto.sh +++ b/etc/ncp-config.d/nc-snapshot-auto.sh @@ -21,7 +21,7 @@ install() configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.hourly/btrfs-snp + rm -f /etc/cron.hourly/btrfs-snp echo "automatic snapshots disabled" return 0 } diff --git a/etc/ncp-config.d/nc-snapshot-sync.sh b/etc/ncp-config.d/nc-snapshot-sync.sh index 15703f04..7eccd93f 100644 --- a/etc/ncp-config.d/nc-snapshot-sync.sh +++ b/etc/ncp-config.d/nc-snapshot-sync.sh @@ -32,7 +32,7 @@ install() configure() { [[ $ACTIVE_ != "yes" ]] && { - rm /etc/cron.d/ncp-snapsync-auto + rm -f /etc/cron.d/ncp-snapsync-auto service cron restart echo "snapshot sync disabled" return 0 |