From f473f737fd127c5e40153d133cb814bf7e8a7a86 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 4 Mar 2022 15:55:39 -0700 Subject: nc-hdd-monitor: fix Bullseye service name Signed-off-by: nachoparker --- bin/ncp/SYSTEM/nc-hdd-monitor.sh | 6 +++--- changelog.md | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bin/ncp/SYSTEM/nc-hdd-monitor.sh b/bin/ncp/SYSTEM/nc-hdd-monitor.sh index 15317252..4b99da7e 100644 --- a/bin/ncp/SYSTEM/nc-hdd-monitor.sh +++ b/bin/ncp/SYSTEM/nc-hdd-monitor.sh @@ -12,7 +12,7 @@ is_active() { - systemctl -q is-enabled smartd &>/dev/null + systemctl -q is-enabled smartmontools &>/dev/null } configure() @@ -24,7 +24,7 @@ configure() } [[ "$ACTIVE" != yes ]] && { - systemctl disable --now smartd + systemctl disable --now smartmontools echo "HDD monitor disabled" return 0 } @@ -69,7 +69,7 @@ EOF done - systemctl enable --now smartd + systemctl enable --now smartmontools echo "HDD monitor enabled" } diff --git a/changelog.md b/changelog.md index 09015f11..7cd326ec 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/71c6f5d) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue +[v1.46.7](https://github.com/nextcloud/nextcloudpi/commit/bd49019) (2022-03-04) nc-hdd-monitor: fix Bullseye service name -[v1.46.5](https://github.com/nextcloud/nextcloudpi/commit/adab07c) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios +[v1.46.6](https://github.com/nextcloud/nextcloudpi/commit/c9610e4) (2022-03-03) ncp-dist-upgrade: fix VM grub-pc issue + +[v1.46.5 ](https://github.com/nextcloud/nextcloudpi/commit/062c803) (2022-03-02) ncp-dist-upgrade: add DHCP fix for raspios [v1.46.4 ](https://github.com/nextcloud/nextcloudpi/commit/06ba8a0) (2022-03-02) nc-scan: check for maintenance mode enabled @@ -15,7 +17,7 @@ [v1.45.0 ](https://github.com/nextcloud/nextcloudpi/commit/9bf5ff0) (2021-11-09) update to Debian 11 Bullseye -[v1.44.8](https://github.com/nextcloud/nextcloudpi/commit/dd8fc3d) (2022-01-10) fix update from pre-1.46 to post-1.46 not working in docker (#1406) +[v1.44.8 ](https://github.com/nextcloud/nextcloudpi/commit/dd8fc3d) (2022-01-10) fix update from pre-1.46 to post-1.46 not working in docker (#1406) [v1.44.7 ](https://github.com/nextcloud/nextcloudpi/commit/bcd850c) (2021-12-13) letsencrypt: fix invalid arithmetic operator error -- cgit v1.2.3